From 050d1871f4351b284073ad6934c9fd9465641c1c Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Wed, 13 Jun 2018 02:06:51 +0200 Subject: [PATCH] fix ubus subscribing --- src/utils/ubus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/ubus.c b/src/utils/ubus.c index 9c5e24d..463a512 100644 --- a/src/utils/ubus.c +++ b/src/utils/ubus.c @@ -798,7 +798,7 @@ int dawn_init_ubus(const char *ubus_socket, const char *hostapd_dir) { if (network_config.network_option == 2) run_server(network_config.tcp_port); - subscribe_to_hostapd_interfaces(hostapd_dir_glob); + //subscribe_to_hostapd_interfaces(hostapd_dir_glob); uloop_run(); @@ -1035,7 +1035,7 @@ void start_umdns_update() { } void update_hostapd_sockets(struct uloop_timeout *t) { - //subscribe_to_hostapd_interfaces(hostapd_dir_glob); + subscribe_to_hostapd_interfaces(hostapd_dir_glob); uloop_timeout_set(&hostapd_timer, timeout_config.update_hostapd * 1000); }