summaryrefslogtreecommitdiffhomepage
path: root/proto.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-15 11:03:52 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-03-15 11:10:36 +0100
commita63479ad899e089ffd8edf76b35391313b98bc17 (patch)
treec93777ef5637d69a8baafa4441d0d2b744704fab /proto.c
parentad4f8bf0149a88f900c6721c08476730adaf5d58 (diff)
always create device routes
Diffstat (limited to 'proto.c')
-rw-r--r--proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.c b/proto.c
index 56870b1..246d78e 100644
--- a/proto.c
+++ b/proto.c
@@ -183,7 +183,7 @@ parse_gateway_option(struct interface *iface, struct blob_attr *attr, bool v6)
}
route->mask = 0;
- route->flags = DEVADDR_DEVICE | (v6 ? DEVADDR_INET6 : DEVADDR_INET4);
+ route->flags = (v6 ? DEVADDR_INET6 : DEVADDR_INET4);
vlist_add(&iface->proto_ip.route, &route->node, &route->mask);
return true;