projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 b6b3708acba852a7d41ff3d76f1138726f871cbf..d025bdf23e99f3cf46924dfdc5f9db04c3a57e5d 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