diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-09-30 08:32:35 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-09-30 08:32:35 +0000 |
| commit | 56373d38a82f5f5f8582314c7e6bdd1be88f013b (patch) | |
| tree | 71a229fa293f6839dae211a12509c1b8a478eef7 | |
| parent | 4c6fc7285e0c50deaa0c0db235c4eec381114c50 (diff) | |
Notes
| -rw-r--r-- | release/sysinstall/tcpip.c | 2 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c index d0a77ac411be..77cc98a21c14 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 || (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)) { diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index d0a77ac411be..77cc98a21c14 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)) { |
