projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't overwrite interface config from netifd
[project/odhcpd.git]
/
src
/
config.c
diff --git
a/src/config.c
b/src/config.c
index
e31740b
..
baa8579
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);
}