diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-05 03:55:54 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-05 03:55:54 +0200 |
commit | 5f739f10e9d7af0eb412102356434f905ed8f467 (patch) | |
tree | f4c349752dd23c6d56fc29ec5a6fff6c81f2e424 /config.c | |
parent | 03f9afd81fcb9943648f5398a2bda5e7d90ca4a7 (diff) |
improve interface for cleaning up unused devices
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ config_init_interfaces(const char *name) if (!strcmp(s->type, "interface")) config_parse_interface(s); } - device_free_all(); + device_free_unused(NULL); config_init = false; interface_start_pending(); |