From 022ec5bd3c3f8c91df12da06a41d3d12a5358943 Mon Sep 17 00:00:00 2001 From: ceri Date: Sun, 15 Jan 2006 23:00:07 +0000 Subject: 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 --- usr.sbin/sysinstall/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/sysinstall/tcpip.c') diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index babe6ab..10c9c2c 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/sysinstall/tcpip.c @@ -597,7 +597,7 @@ netconfig: 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); -- cgit v1.1