mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-02 13:30:32 +00:00
dnsmasq.c fix OPT_UBUS option usage
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
This commit is contained in:
1 parent
8c1b6a5fd7
commit
9d6fd1727e
1 file changed
+2
-2
+2
-2
@@ -955,7 +955,7 @@ int main (int argc, char **argv)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UBUS
|
||||
if (option_bool(OPT_UBUS)
|
||||
if (option_bool(OPT_UBUS))
|
||||
set_ubus_listeners();
|
||||
#endif
|
||||
|
||||
@@ -1090,7 +1090,7 @@ int main (int argc, char **argv)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UBUS
|
||||
if (daemon->enable_ubus)
|
||||
if (option_bool(OPT_UBUS))
|
||||
check_ubus_listeners();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user