mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Correct variable check for VAR_TRY_DHCP.
This commit is contained in:
parent
40a9e71856
commit
b7bbaa3ca9
2 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue