ip/ipconfig: don't write /net/ndb when getting config from ndb (-N)
This commit is contained in:
parent
65337bec22
commit
f94167ebee
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ doadd(int retry)
|
||||||
dhcpwatch(0);
|
dhcpwatch(0);
|
||||||
|
|
||||||
/* leave everything we've learned somewhere other procs can find it */
|
/* leave everything we've learned somewhere other procs can find it */
|
||||||
if(beprimary)
|
if(beprimary && !dondbconfig)
|
||||||
putndb();
|
putndb();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue