From: Steven Barth Date: Wed, 9 Apr 2014 12:24:31 +0000 (+0200) Subject: config: use correct defaults if interface is not in UCI X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c6ad596952d78267369561b57723b93d835b953;p=oweals%2Fodhcpd.git config: use correct defaults if interface is not in UCI --- 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;