summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizards/setup_wizard.xml
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-01 00:51:12 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-01 00:53:27 -0500
commit64ec463cbc362b504164fd889338116893c7584b (patch)
tree03ae406eea9674a024ace25314479d7c09f446ea /src/usr/local/www/wizards/setup_wizard.xml
parent0a5096fc8c04758bc06c67f94d0fb8767425db16 (diff)
downloadpfsense-64ec463cbc362b504164fd889338116893c7584b.zip
pfsense-64ec463cbc362b504164fd889338116893c7584b.tar.gz
Skip LAN properly with static IP WAN and one interface. Ticket #6093
Diffstat (limited to 'src/usr/local/www/wizards/setup_wizard.xml')
-rw-r--r--src/usr/local/www/wizards/setup_wizard.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/wizards/setup_wizard.xml b/src/usr/local/www/wizards/setup_wizard.xml
index 45bd99c..59253eb 100644
--- a/src/usr/local/www/wizards/setup_wizard.xml
+++ b/src/usr/local/www/wizards/setup_wizard.xml
@@ -589,8 +589,9 @@
$_POST['ipaddress'] = $_POST['selectedtype'];
$config['interfaces']['wan']['ipaddr'] = $_POST['selectedtype'];
write_config();
- if(!$config['interfaces']['lan'])
- header("Location: /wizard.php?xml=setup_wizard.xml&stepid=6&next=Next");
+ }
+ if(!$config['interfaces']['lan']) {
+ header("Location: /wizard.php?xml=setup_wizard.xml&stepid=6&next=Next");
}
]]>
</stepsubmitbeforesave>
OpenPOWER on IntegriCloud