Revision ab5f464a
Added by Jonathon Anderson over 8 years ago
src/usr/local/www/wizards/setup_wizard.xml | ||
---|---|---|
622 | 622 |
</fields> |
623 | 623 |
<stepsubmitphpaction> |
624 | 624 |
<![CDATA[ |
625 |
if (empty($_POST['lanipaddress']) || !is_ipaddr($_POST['lanipaddress'])) { |
|
625 |
if (empty($_POST['lanipaddress']) || !is_ipaddr($_POST['lanipaddress']) || strcasecmp($_POST['lanipaddress'],"dhcp")!=0) {
|
|
626 | 626 |
print_info_box("Invalid LAN IP address. Please press back in the browser window and correct."); |
627 | 627 |
die; |
628 | 628 |
} |
Also available in: Unified diff
update conditional re:LAN dhcp
(cherry picked from commit 0eb2512f93c7e187511ea258948715c2e230e98f)