diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:03:52 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-15 11:10:36 +0100 |
commit | a63479ad899e089ffd8edf76b35391313b98bc17 (patch) | |
tree | c93777ef5637d69a8baafa4441d0d2b744704fab /proto.c | |
parent | ad4f8bf0149a88f900c6721c08476730adaf5d58 (diff) |
always create device routes
Diffstat (limited to 'proto.c')
-rw-r--r-- | proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |