projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba0952
)
config: use correct defaults if interface is not in UCI
author
Steven Barth
<steven@midlink.org>
Wed, 9 Apr 2014 12:24:31 +0000
(14:24 +0200)
committer
Steven Barth
<steven@midlink.org>
Wed, 9 Apr 2014 12:24:31 +0000
(14:24 +0200)
src/config.c
patch
|
blob
|
history
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;