diff options
-rw-r--r-- | config.c | 2 | ||||
-rw-r--r-- | config.h | 2 | ||||
-rw-r--r-- | main.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -331,7 +331,7 @@ config_init_package(const char *config) } void -config_init_interfaces(void) +config_init_all(void) { struct uci_package *p = NULL; struct uci_element *e; @@ -39,7 +39,7 @@ static inline bool test_bit(unsigned long *bits, int bit) return !!(bits[bit / BITS_PER_LONG] & (1UL << (bit % BITS_PER_LONG))); } -void config_init_interfaces(void); +void config_init_all(void); bool config_check_equal(struct blob_attr *c1, struct blob_attr *c2, const struct config_param_list *config); bool config_diff(struct blob_attr **tb1, struct blob_attr **tb2, @@ -238,7 +238,7 @@ static void netifd_do_restart(struct uloop_timeout *timeout) static void netifd_do_reload(struct uloop_timeout *timeout) { - config_init_interfaces(); + config_init_all(); } static struct uloop_timeout main_timer; @@ -358,7 +358,7 @@ int main(int argc, char **argv) return 1; } - config_init_interfaces(); + config_init_all(); uloop_run(); netifd_kill_processes(); |