s/cleanup_devices/device_free_all/
[project/netifd.git] / config.c
index 18efe96..0f7a652 100644 (file)
--- a/config.c
+++ b/config.c
@@ -165,7 +165,7 @@ config_init_interfaces(const char *name)
                if (!strcmp(s->type, "interface"))
                        config_parse_interface(s);
        }
-       cleanup_devices();
+       device_free_all();
        config_init = false;
 
        start_pending_interfaces();