ip/ipconfig: resolve ipgw to an ip address as neccesary (thanks k0ga)
ndb(6) states that ipgw needs to be an ip address, however, attempting to resolve ipgw is not difficult and already done by ip/dhcpd.
This commit is contained in:
parent
d8545806fc
commit
a7dab2728b
|
@ -1010,7 +1010,7 @@ ndb2conf(Ndb *db, uchar *myip)
|
|||
|
||||
nattr = 0;
|
||||
attrs[nattr++] = "ipmask";
|
||||
attrs[nattr++] = "ipgw";
|
||||
attrs[nattr++] = "@ipgw";
|
||||
|
||||
attrs[nattr++] = "@dns";
|
||||
attrs[nattr++] = "@ntp";
|
||||
|
|
Loading…
Reference in a new issue