diff options
author | jkh <jkh@FreeBSD.org> | 1999-09-19 07:46:55 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-09-19 07:46:55 +0000 |
commit | 07af0a243b50ec9748ca544581a66640130606f7 (patch) | |
tree | 989eeac0b6f0279426fb5a9c4cbf6dc92dfc2c78 /usr.sbin/sysinstall | |
parent | 899c0fd4e9223191a98defdbb9ab72a9af1cd503 (diff) | |
download | FreeBSD-src-07af0a243b50ec9748ca544581a66640130606f7.zip FreeBSD-src-07af0a243b50ec9748ca544581a66640130606f7.tar.gz |
Deal with new "auto" setting for network_interfaces.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index 4e2d8d3..77cc98a 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/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)) { |