ref: ccf72da47d29772af51b0b348d2845fbbbd8a881
parent: 2bd59d9cb3a50d0083ed9b8bda6970df62e39bca
author: cinap_lenrek <[email protected]>
date: Tue Jan 16 15:42:01 EST 2018
set router R-flag when sendra is active for neighbor advertisement windows 7 just drops the default router when it tries to probe for router reachability but gets a neighbor avertisement from the router with the router bit clear. so set the R-flag when sendra is active, which implies that we are a router.
--- a/sys/src/9/ip/icmp6.c
+++ b/sys/src/9/ip/icmp6.c
@@ -796,6 +796,8 @@
case NbrSolicit:
np = (Ndpkt*) p;
pktflags = 0;
+ if(ipifc->sendra6)
+ pktflags |= Rflag;
switch (targettype(icmp->f, ipifc, np->target)) {
case Tunirany:
pktflags |= Oflag;