summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-09-30 08:32:35 +0000
committerjkh <jkh@FreeBSD.org>1999-09-30 08:32:35 +0000
commitda8f96a0d65950d56832fcb553a66e21475e596e (patch)
treebc3807a18e01b1b32d3f7c04dfe99575e1898da3 /usr.sbin
parent9b2e6d0ad7e0a536cb64dcb22393e9daf72465d2 (diff)
downloadFreeBSD-src-da8f96a0d65950d56832fcb553a66e21475e596e.zip
FreeBSD-src-da8f96a0d65950d56832fcb553a66e21475e596e.tar.gz
Sigh, too many late nights!
Diffstat (limited to 'usr.sbin')
-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 d0a77ac..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 || (ifaces && !strcmp(ifaces, "auto")))
+ 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