shithub: riscv

Download patch

ref: 12f27944a5d3fb160964b8c9e0efbd146408aa5a
parent: ccf72da47d29772af51b0b348d2845fbbbd8a881
author: cinap_lenrek <[email protected]>
date: Tue Jan 16 16:37:36 EST 2018

p/ipconfig: don't put automatic link-local address configuration in /net/ndb

--- a/sys/src/cmd/ip/ipconfig/main.c
+++ b/sys/src/cmd/ip/ipconfig/main.c
@@ -645,7 +645,7 @@
 
 	/* leave everything we've learned somewhere other procs can find it */
 	if(beprimary){
-		if(!dondbconfig)
+		if(!dondbconfig && !ipv6auto)
 			putndb();
 		refresh();
 	}