summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-09-19 07:46:55 +0000
committerjkh <jkh@FreeBSD.org>1999-09-19 07:46:55 +0000
commit07af0a243b50ec9748ca544581a66640130606f7 (patch)
tree989eeac0b6f0279426fb5a9c4cbf6dc92dfc2c78 /release
parent899c0fd4e9223191a98defdbb9ab72a9af1cd503 (diff)
downloadFreeBSD-src-07af0a243b50ec9748ca544581a66640130606f7.zip
FreeBSD-src-07af0a243b50ec9748ca544581a66640130606f7.tar.gz
Deal with new "auto" setting for network_interfaces.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/tcpip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c
index 4e2d8d3..77cc98a 100644
--- a/release/sysinstall/tcpip.c
+++ b/release/sysinstall/tcpip.c
@@ -391,7 +391,7 @@ netconfig:
sprintf(temp, "inet %s %s netmask %s", ipaddr, extras, netmask);
variable_set2(ifn, temp, 1);
ifaces = variable_get(VAR_INTERFACES);
- if (!ifaces)
+ if (!ifaces || !strcmp(ifaces, "auto"))
variable_set2(VAR_INTERFACES, ifaces = "lo0", 1);
/* Only add it if it's not there already */
if (!strstr(ifaces, devp->name)) {
OpenPOWER on IntegriCloud