Preserve any additional arguments to ifconfig that were specified in the
DHCP case too. PR: bin/74406 Approved by: jhb (proxy mentor) MFC after: 3 days
This commit is contained in:
parent
c371d3ffd7
commit
d5d399e113
@ -597,7 +597,7 @@ tcpOpenDialog(Device *devp)
|
||||
if (ipv4_enable) {
|
||||
sprintf(ifn, "%s%s", VAR_IFCONFIG, devp->name);
|
||||
if (use_dhcp)
|
||||
sprintf(temp, "DHCP");
|
||||
sprintf(temp, "DHCP %s", extras);
|
||||
else
|
||||
sprintf(temp, "inet %s %s netmask %s",
|
||||
ipaddr, extras, netmask);
|
||||
|
Loading…
Reference in New Issue
Block a user