summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.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 /interface-ip.c
parentad4f8bf0149a88f900c6721c08476730adaf5d58 (diff)
always create device routes
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/interface-ip.c b/interface-ip.c
index 51612fa..3204cd9 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -83,8 +83,6 @@ interface_ip_add_route(struct interface *iface, struct blob_attr *attr, bool v6)
DPRINTF("Failed to parse route gateway: %s\n", (char *) blobmsg_data(cur));
goto error;
}
- } else {
- route->flags |= DEVADDR_DEVICE;
}
if ((cur = tb[ROUTE_METRIC]) != NULL)