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:
Ceri Davies 2006-01-15 23:00:07 +00:00
parent c371d3ffd7
commit d5d399e113

View File

@ -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);