mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 17:02:05 +03:00
13 lines
428 B
Diff
13 lines
428 B
Diff
|
--- a/net/ipv6/addrconf.c
|
||
|
+++ b/net/ipv6/addrconf.c
|
||
|
@@ -2839,7 +2839,8 @@ static void addrconf_dad_completed(struc
|
||
|
start sending router solicitations.
|
||
|
*/
|
||
|
|
||
|
- if (ifp->idev->cnf.forwarding == 0 &&
|
||
|
+ if ((ifp->idev->cnf.forwarding == 0 ||
|
||
|
+ ifp->idev->cnf.forwarding == 2) &&
|
||
|
ifp->idev->cnf.rtr_solicits > 0 &&
|
||
|
(dev->flags&IFF_LOOPBACK) == 0 &&
|
||
|
(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
|