summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-04-08 20:55:27 +0200
committersmos <seth.mos@dds.nl>2012-04-08 20:55:27 +0200
commitc616b3c73e6432aad71c22e75cc8a03e533169ca (patch)
treee4f5548511a0946eb4291b5452d8c0c69141d356 /usr/local/www/interfaces.php
parent4e83a8f2fd9a6aa784276bb3b02d4ad75416441c (diff)
downloadpfsense-c616b3c73e6432aad71c22e75cc8a03e533169ca.zip
pfsense-c616b3c73e6432aad71c22e75cc8a03e533169ca.tar.gz
Correct the variable names for the duplicate stf check
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 4027738..3ce7ac8 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -504,7 +504,7 @@ if ($_POST['apply']) {
break;
case "6rd":
foreach ($ifdescrs as $ifent => $ifdescr) {
- if ($if != $ifent && (($_POST['ipaddrv6'] == $_POST['type6']) || ($_POST['ipaddrv6'] == "6to4")) ) {
+ if ($if != $ifent && (($config[interfaces][$ifent]['ipaddrv6'] == $_POST['type6']) || ($config[interfaces][$ifent]['ipaddrv6'] == "6to4")) ) {
$input_errors[] = sprintf(gettext("You can only have one interface configured as %s or 6to4."),$_POST['type6']);
break;
}
@@ -514,7 +514,7 @@ if ($_POST['apply']) {
break;
case "6to4":
foreach ($ifdescrs as $ifent => $ifdescr) {
- if ($if != $ifent && (($_POST['ipaddrv6'] == $_POST['type6']) || ($_POST['ipaddrv6'] == "6rd")) ) {
+ if ($if != $ifent && (($config[interfaces][$ifent]['ipaddrv6'] == $_POST['type6']) || ($config[interfaces][$ifent]['ipaddrv6'] == "6rd")) ) {
$input_errors[] = sprintf(gettext("You can only have one interface configured as %s or 6rd."),$_POST['type6']);
break;
}
OpenPOWER on IntegriCloud