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:
a8fcb33
)
don't overwrite interface config from netifd
author
Steven Barth
<steven@midlink.org>
Tue, 15 Oct 2013 13:57:58 +0000
(15:57 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 15 Oct 2013 13:57:58 +0000
(15:57 +0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index e31740bdd7ee28aeae21f94e07d2d078152123a9..baa857913b62b4bf30c44389ccd8ba1430b5640c 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-270,7
+270,7
@@
int config_parse_interface(struct blob_attr *b, const char *name, bool overwrite
iface = calloc(1, sizeof(*iface));
strncpy(iface->name, name, sizeof(iface->name) - 1);
list_add(&iface->head, &interfaces);
- } else {
+ } else
if (overwrite)
{
clean_interface(iface);
}