From da8f96a0d65950d56832fcb553a66e21475e596e Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 30 Sep 1999 08:32:35 +0000 Subject: Sigh, too many late nights! --- usr.sbin/sysinstall/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/sysinstall') 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)) { -- cgit v1.1