merge
This commit is contained in:
commit
8ec06b6fc6
1 changed files with 2 additions and 0 deletions
|
@ -1233,6 +1233,8 @@ dhcprecv(void)
|
|||
if(!validip(conf.mask) || !Oflag){
|
||||
if(!optgetaddr(bp->optdata, OBmask, conf.mask))
|
||||
ipmove(conf.mask, IPnoaddr);
|
||||
if(ipcmp(conf.mask, IPv4bcast) == 0)
|
||||
ipmove(conf.mask, IPnoaddr);
|
||||
}
|
||||
DEBUG("ipaddr=%I ipmask=%M ", conf.laddr, conf.mask);
|
||||
|
||||
|
|
Loading…
Reference in a new issue