diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index c7852b38e03e..318767fcefdc 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -1525,7 +1525,7 @@ addrconf_prefix_route(struct in6_addr *pfx, int plen, struct net_device *dev, | |||
1525 | if (dev->type == ARPHRD_SIT && (dev->flags&IFF_POINTOPOINT)) | 1525 | if (dev->type == ARPHRD_SIT && (dev->flags&IFF_POINTOPOINT)) |
1526 | rtmsg.rtmsg_flags |= RTF_NONEXTHOP; | 1526 | rtmsg.rtmsg_flags |= RTF_NONEXTHOP; |
1527 | 1527 | ||
1528 | ip6_route_add(&rtmsg, NULL, NULL, NULL); | 1528 | ip6_route_add(&rtmsg, NULL, NULL, NULL, RT6_TABLE_PREFIX); |
1529 | } | 1529 | } |
1530 | 1530 | ||
1531 | /* Create "default" multicast route to the interface */ | 1531 | /* Create "default" multicast route to the interface */ |
@@ -1542,7 +1542,7 @@ static void addrconf_add_mroute(struct net_device *dev) | |||
1542 | rtmsg.rtmsg_ifindex = dev->ifindex; | 1542 | rtmsg.rtmsg_ifindex = dev->ifindex; |
1543 | rtmsg.rtmsg_flags = RTF_UP; | 1543 | rtmsg.rtmsg_flags = RTF_UP; |
1544 | rtmsg.rtmsg_type = RTMSG_NEWROUTE; | 1544 | rtmsg.rtmsg_type = RTMSG_NEWROUTE; |
1545 | ip6_route_add(&rtmsg, NULL, NULL, NULL); | 1545 | ip6_route_add(&rtmsg, NULL, NULL, NULL, RT6_TABLE_LOCAL); |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | static void sit_route_add(struct net_device *dev) | 1548 | static void sit_route_add(struct net_device *dev) |
@@ -1559,7 +1559,7 @@ static void sit_route_add(struct net_device *dev) | |||
1559 | rtmsg.rtmsg_flags = RTF_UP|RTF_NONEXTHOP; | 1559 | rtmsg.rtmsg_flags = RTF_UP|RTF_NONEXTHOP; |
1560 | rtmsg.rtmsg_ifindex = dev->ifindex; | 1560 | rtmsg.rtmsg_ifindex = dev->ifindex; |
1561 | 1561 | ||
1562 | ip6_route_add(&rtmsg, NULL, NULL, NULL); | 1562 | ip6_route_add(&rtmsg, NULL, NULL, NULL, RT6_TABLE_MAIN); |
1563 | } | 1563 | } |
1564 | 1564 | ||
1565 | static void addrconf_add_lroute(struct net_device *dev) | 1565 | static void addrconf_add_lroute(struct net_device *dev) |