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
2018-07-28 13:26:39 +01:00
committed by Simon Kelley
parent 8c1b6a5fd7
commit 9d6fd1727e

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