summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2016-11-23 13:46:45 -0500
committerSteve Beaver <sbeaver@netgate.com>2016-11-23 13:47:33 -0500
commit581aa62291526e48308de247a19f5aae633894b9 (patch)
tree3077dda4f887b4e4e84cd6f72ca1e01cd9a70d1a /src/usr/local/www/interfaces.php
parent499ff8fc7b2b5b160d9a91c2f063c979f4356e61 (diff)
downloadpfsense-581aa62291526e48308de247a19f5aae633894b9.zip
pfsense-581aa62291526e48308de247a19f5aae633894b9.tar.gz
Added addrtolower() to interface pages
Diffstat (limited to 'src/usr/local/www/interfaces.php')
-rw-r--r--src/usr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php
index 2284b88..ab217ea 100644
--- a/src/usr/local/www/interfaces.php
+++ b/src/usr/local/www/interfaces.php
@@ -724,6 +724,8 @@ if ($_POST['apply']) {
}
}
if ($_POST['ipaddrv6']) {
+ $_POST['ipaddrv6'] = addrtolower($_POST['ipaddrv6']);
+
if (!is_ipaddrv6($_POST['ipaddrv6'])) {
$input_errors[] = gettext("A valid IPv6 address must be specified.");
} else {
OpenPOWER on IntegriCloud