shithub: riscv

Download patch

ref: 9ee967663f9cec96ed9e9fd292657ed54eea47df
parent: 02b867f01eca1fefbe8b29205c8a8d4c13d2ffd0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Sep 28 14:16:08 EDT 2018

ip/ipconfig: default onlink and autoflag to 1

--- a/sys/src/cmd/ip/ipconfig/ipv6.c
+++ b/sys/src/cmd/ip/ipconfig/ipv6.c
@@ -174,8 +174,7 @@
 	cf->routerlt = 0;
 
 	cf->prefixlen = 64;
-	cf->onlink = 0;
-	cf->autoflag = 0;
+	cf->onlink = cf->autoflag = 1;
 	cf->validlt = cf->preflt = ~0L;
 }