diff options
author | Steven Barth <steven@midlink.org> | 2014-04-09 14:24:31 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-04-09 14:24:31 +0200 |
commit | 0c6ad596952d78267369561b57723b93d835b953 (patch) | |
tree | f67a1b33e46a3fb4c44a50b7260245f9eb30de02 /src/config.c | |
parent | fba0952c18b46f9385f43d7f7be2592f076d8402 (diff) |
config: use correct defaults if interface is not in UCI
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |