diff options
author | Jonathon Anderson <jpanderson0@gmail.com> | 2016-11-09 13:55:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-09 13:55:32 -0600 |
commit | 0eb2512f93c7e187511ea258948715c2e230e98f (patch) | |
tree | ca392a1796956e6933c36cbe97e2210af7ca046d /src/usr/local/www | |
parent | 32980f321e854bf008efa04ee9187553231b6423 (diff) | |
download | pfsense-0eb2512f93c7e187511ea258948715c2e230e98f.zip pfsense-0eb2512f93c7e187511ea258948715c2e230e98f.tar.gz |
update conditional re:LAN dhcp
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/wizards/setup_wizard.xml | 2 |
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; } |