projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
71db4a0
)
Fix prefix detection for hybrid mode
author
Steven Barth
<steven@midlink.org>
Fri, 17 Jan 2014 11:23:59 +0000
(12:23 +0100)
committer
Steven Barth
<steven@midlink.org>
Fri, 17 Jan 2014 11:24:19 +0000
(12:24 +0100)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index
b6b3708
..
d025bdf
100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-560,7
+560,7
@@
void odhcpd_reload(void)
enum odhcpd_mode hybrid_mode = RELAYD_DISABLED;
#ifdef WITH_UBUS
- if (ubus_has_prefix(i->name, i->ifname))
+ if (
!
ubus_has_prefix(i->name, i->ifname))
hybrid_mode = RELAYD_RELAY;
#endif