projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bridge: enable multicast querier functionality by default
[project/netifd.git]
/
interface-ip.c
diff --git
a/interface-ip.c
b/interface-ip.c
index
715e498
..
587826a
100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-365,6
+365,10
@@
interface_ip_add_route(struct interface *iface, struct blob_attr *attr, bool v6)
goto error;
}
+ /* only set the table flag if not using the main (default) table */
+ if (system_is_default_rt_table(route->table))
+ route->table = 0;
+
if (route->table)
route->flags |= DEVROUTE_TABLE;
}