From 0c6ad596952d78267369561b57723b93d835b953 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 9 Apr 2014 14:24:31 +0200 Subject: [PATCH] config: use correct defaults if interface is not in UCI --- src/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.c b/src/config.c index a392af7..4cde431 100644 --- a/src/config.c +++ b/src/config.c @@ -285,6 +285,7 @@ int config_parse_interface(void *data, size_t len, const char *name, bool overwr strncpy(iface->name, name, sizeof(iface->name) - 1); list_add(&iface->head, &interfaces); + overwrite = true; } const char *ifname = NULL; -- 2.25.1