summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizards
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:15 -0500
commit5330efe9670c6065ecc188965805e468de543083 (patch)
treead863bf37a72b4c30b5b4a61540c44ba8a0774b0 /src/usr/local/www/wizards
parent741e859260031db4588aefeb593dd4302e8902a1 (diff)
downloadpfsense-5330efe9670c6065ecc188965805e468de543083.zip
pfsense-5330efe9670c6065ecc188965805e468de543083.tar.gz
Skip LAN properly with static IP WAN and one interface. Ticket #6093
Diffstat (limited to 'src/usr/local/www/wizards')
-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