summaryrefslogtreecommitdiffhomepage
path: root/src/config.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-03 12:04:15 +0100
committerSteven Barth <steven@midlink.org>2014-01-03 12:04:15 +0100
commit8aca3ac8aa982eff281991851b079ff3bf2dcaff (patch)
tree3019dfd7ae287fd41a0d2670eb02682d991dc1f0 /src/config.c
parent9cd9c3ba82c341de1af091575e11cd3ddd433c8c (diff)
Learn routes in NDP-proxy 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 38a3e7a..1428686 100644
--- a/src/config.c
+++ b/src/config.c
@@ -470,6 +470,8 @@ int config_parse_interface(void *data, size_t len, const char *name, bool overwr
if ((c = tb[IFACE_ATTR_NDPROXY_ROUTING]))
iface->learn_routes = blobmsg_get_bool(c);
+ else
+ iface->learn_routes = true;
if ((c = tb[IFACE_ATTR_NDPROXY_SLAVE]))
iface->external = blobmsg_get_bool(c);