diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-01 00:51:12 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-01 00:53:15 -0500 |
commit | 5330efe9670c6065ecc188965805e468de543083 (patch) | |
tree | ad863bf37a72b4c30b5b4a61540c44ba8a0774b0 /src/usr/local/www/wizards | |
parent | 741e859260031db4588aefeb593dd4302e8902a1 (diff) | |
download | pfsense-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.xml | 5 |
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> |