summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2006-01-15 23:00:07 +0000
committerceri <ceri@FreeBSD.org>2006-01-15 23:00:07 +0000
commit022ec5bd3c3f8c91df12da06a41d3d12a5358943 (patch)
tree4e4bcedf0eee33b63fc9328c34259f2c7ce9d2da /usr.sbin/sysinstall
parenta11fe8f43e949363685cd4fd8abe605c660c4df8 (diff)
downloadFreeBSD-src-022ec5bd3c3f8c91df12da06a41d3d12a5358943.zip
FreeBSD-src-022ec5bd3c3f8c91df12da06a41d3d12a5358943.tar.gz
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
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/tcpip.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud