dnsmasq.c fix OPT_UBUS option usage

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
This commit is contained in:
Kevin Darbyshire-Bryant authored and Simon Kelley committed 2018-07-29 22:11:12 +01:00
1 parent 8c1b6a5fd7
commit 9d6fd1727e
1 file changed
+2 -2
+2 -2
View File
@@ -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