always create device routes
[project/netifd.git] / proto.c
diff --git a/proto.c b/proto.c
index 56870b1..246d78e 100644 (file)
--- 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;