From ccf72da47d29772af51b0b348d2845fbbbd8a881 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 16 Jan 2018 20:42:01 +0100 Subject: 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. --- sys/src/9/ip/icmp6.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/src/9/ip/icmp6.c b/sys/src/9/ip/icmp6.c index 7c9e637b8..5557c6042 100644 --- a/sys/src/9/ip/icmp6.c +++ b/sys/src/9/ip/icmp6.c @@ -796,6 +796,8 @@ icmpiput6(Proto *icmp, Ipifc *ipifc, Block *bp) case NbrSolicit: np = (Ndpkt*) p; pktflags = 0; + if(ipifc->sendra6) + pktflags |= Rflag; switch (targettype(icmp->f, ipifc, np->target)) { case Tunirany: pktflags |= Oflag; -- cgit v1.2.3