summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/wizards
diff options
context:
space:
mode:
authorJonathon Anderson <jpanderson0@gmail.com>2016-11-09 13:55:32 -0600
committerGitHub <noreply@github.com>2016-11-09 13:55:32 -0600
commit0eb2512f93c7e187511ea258948715c2e230e98f (patch)
treeca392a1796956e6933c36cbe97e2210af7ca046d /src/usr/local/www/wizards
parent32980f321e854bf008efa04ee9187553231b6423 (diff)
downloadpfsense-0eb2512f93c7e187511ea258948715c2e230e98f.zip
pfsense-0eb2512f93c7e187511ea258948715c2e230e98f.tar.gz
update conditional re:LAN dhcp
Diffstat (limited to 'src/usr/local/www/wizards')
-rw-r--r--src/usr/local/www/wizards/setup_wizard.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/wizards/setup_wizard.xml b/src/usr/local/www/wizards/setup_wizard.xml
index a4ef9b2..3c132a6 100644
--- a/src/usr/local/www/wizards/setup_wizard.xml
+++ b/src/usr/local/www/wizards/setup_wizard.xml
@@ -588,7 +588,7 @@
</fields>
<stepsubmitphpaction>
<![CDATA[
- if (empty($_POST['lanipaddress']) || !is_ipaddr($_POST['lanipaddress'])) {
+ if (empty($_POST['lanipaddress']) || !is_ipaddr($_POST['lanipaddress']) || strcasecmp($_POST['lanipaddress'],"dhcp")!=0) {
print_info_box("Invalid LAN IP address. Please press back in the browser window and correct.");
die;
}
OpenPOWER on IntegriCloud