summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-17 16:47:31 +0100
committerSteven Barth <steven@midlink.org>2014-01-17 16:47:31 +0100
commit025572363ee84e8477581dbca321efaee3ebdddb (patch)
treec13ff70accbfd5310eae1b61df2fcc442875f2b1 /src/config.c
parent0a41d480c058b68fe09ac7de044c561dee955233 (diff)
Use hybrid management mode by default
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index d025bdf..195a9a4 100644
--- 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);