ref: 27679f07fc690c70de6dc92cb36668b02a6df86b
parent: 242f905ddfbeaad18eb5a42ee6ff642da28f67da
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Feb 2 17:00:51 EST 2017
ip/ipconfig: don't write /net/ndb when getting config from ndb (-N)
--- a/sys/src/cmd/ip/ipconfig/main.c
+++ b/sys/src/cmd/ip/ipconfig/main.c
@@ -648,7 +648,7 @@
dhcpwatch(0);
/* leave everything we've learned somewhere other procs can find it */
- if(beprimary)
+ if(beprimary && !dondbconfig)
putndb();
}
--
⑨