summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Anderson <jpanderson0@gmail.com>2016-11-07 14:26:36 -0600
committerGitHub <noreply@github.com>2016-11-07 14:26:36 -0600
commit32980f321e854bf008efa04ee9187553231b6423 (patch)
tree3960c1894a511404387e1cfd2b4e4e33787fe0f4
parent6bd09ca2ce4f0f85d9506431a5079cd505a8f8cc (diff)
downloadpfsense-32980f321e854bf008efa04ee9187553231b6423.zip
pfsense-32980f321e854bf008efa04ee9187553231b6423.tar.gz
update LAN regex for case insensitivity
-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 9a42871..a4ef9b2 100644
--- a/src/usr/local/www/wizards/setup_wizard.xml
+++ b/src/usr/local/www/wizards/setup_wizard.xml
@@ -573,7 +573,7 @@
<type>input</type>
<bindstofield>interfaces->lan->ipaddr</bindstofield>
<description>Type dhcp if this interface uses DHCP to obtain its IP address.</description>
- <validate>^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$</validate>
+ <validate>^((dhcp)|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))$/i</validate>
<message>LAN IP Address field is invalid</message>
</field>
<field>
OpenPOWER on IntegriCloud