mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-20 02:38: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:
committed by
Simon Kelley
parent
8c1b6a5fd7
commit
9d6fd1727e
@@ -955,7 +955,7 @@ int main (int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UBUS
|
#ifdef HAVE_UBUS
|
||||||
if (option_bool(OPT_UBUS)
|
if (option_bool(OPT_UBUS))
|
||||||
set_ubus_listeners();
|
set_ubus_listeners();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1090,7 +1090,7 @@ int main (int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UBUS
|
#ifdef HAVE_UBUS
|
||||||
if (daemon->enable_ubus)
|
if (option_bool(OPT_UBUS))
|
||||||
check_ubus_listeners();
|
check_ubus_listeners();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user