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:
0a41d48
)
Use hybrid management mode by default
author
Steven Barth
<steven@midlink.org>
Fri, 17 Jan 2014 15:47:31 +0000
(16:47 +0100)
committer
Steven Barth
<steven@midlink.org>
Fri, 17 Jan 2014 15:47:31 +0000
(16:47 +0100)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index d025bdf23e99f3cf46924dfdc5f9db04c3a57e5d..195a9a420c20156c34070054a0b060faed72ec20 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-454,6
+454,8
@@
int config_parse_interface(void *data, size_t len, const char *name, bool overwr
if ((c = tb[IFACE_ATTR_RA_MANAGEMENT]))
iface->managed = blobmsg_get_u32(c);
+ else
+ iface->managed = 1;
if ((c = tb[IFACE_ATTR_RA_OFFLINK]))
iface->ra_not_onlink = blobmsg_get_bool(c);