diff options
author | Steven Barth <steven@midlink.org> | 2014-01-17 12:23:59 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-01-17 12:24:19 +0100 |
commit | baee1992982f92a45870ba0aaea111c00963de5d (patch) | |
tree | b879df8709894cc4dbb897435d48b2c63e18ec02 /src | |
parent | 71db4a0c548b23d842fdf3cc2b3ed6a88816c8ba (diff) |
Fix prefix detection for hybrid mode
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index b6b3708..d025bdf 100644 --- 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 |