projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
config: use correct defaults if interface is not in UCI
[project/odhcpd.git]
/
src
/
config.c
diff --git
a/src/config.c
b/src/config.c
index a392af7b3fcce34002d4facd72cd8f0c8f25da96..4cde4312c926742b796002aa08dcd03d43b52277 100644
(file)
--- 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;