shithub: riscv

Download patch

ref: d682a6cb38b68c6c1a4671bb59b4e1136857b217
parent: 17ef60cbb8be5d27144bf9a9f3bf6a201204a5be
author: cinap_lenrek <[email protected]>
date: Wed Jan 10 13:28:23 EST 2018

ip/ipconfig: set on-link flag in router advertisement prefix info (fixes windows7)

--- a/sys/src/cmd/ip/ipconfig/ipv6.c
+++ b/sys/src/cmd/ip/ipconfig/ipv6.c
@@ -838,7 +838,7 @@
 
 			prfo->type = V6nd_pfxinfo;
 			prfo->len = 4;
-			prfo->lar = AFMASK;
+			prfo->lar = AFMASK|OLMASK;
 			hnputl(prfo->validlt, lifc->validlt);
 			hnputl(prfo->preflt, lifc->preflt);
 			pktsz += sizeof *prfo;