aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/tcpip.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2000-09-15 08:15:14 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2000-09-15 08:15:14 +0000
commitb7bbaa3ca946c85d5875de6a9756fa8be39343ff (patch)
tree3383264a2cd4b9287500d6d0ff4f74282396faf3 /usr.sbin/sysinstall/tcpip.c
parent40a9e71856f8dcbc1f18ce06b56642362889d0c4 (diff)
Correct variable check for VAR_TRY_DHCP.
Notes
Notes: svn path=/head/; revision=65886
Diffstat (limited to 'usr.sbin/sysinstall/tcpip.c')
-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 62cb251c36c7..50553d89c23f 100644
--- a/usr.sbin/sysinstall/tcpip.c
+++ b/usr.sbin/sysinstall/tcpip.c
@@ -288,7 +288,7 @@ tcpOpenDialog(Device *devp)
/* First try a DHCP scan if such behavior is desired */
if (!variable_cmp(VAR_TRY_DHCP, "YES") ||
- ((variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgYesNo("Do you want to try DHCP configuration of the interface?")))) {
+ ((!variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgYesNo("Do you want to try DHCP configuration of the interface?")))) {
Mkdir("/var/db");
Mkdir("/var/run");
Mkdir("/tmp");