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:
74cd69a
)
Ignore missing ifname from netifd
author
Steven Barth
<steven@midlink.org>
Tue, 15 Oct 2013 15:06:41 +0000
(17:06 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 15 Oct 2013 15:06:41 +0000
(17:06 +0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index e33c8554fd28392435e51d0a43f448d00941a86a..7700c7eead4f8a977f22a9b5140a4d031b7b98bb 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-284,7
+284,7
@@
int config_parse_interface(void *data, size_t len, const char *name, bool overwr
else if ((c = tb[IFACE_ATTR_NETWORKID]))
ifname = blobmsg_get_string(c);
- if (!ifname)
+ if (!if
ace->ifname[0] && !if
name)
return -1;
strncpy(iface->ifname, ifname, sizeof(iface->ifname) - 1);