diff options
author | Renato Botelho <renato@netgate.com> | 2018-08-24 08:27:02 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2018-08-24 08:27:02 -0300 |
commit | 572e46a27ad07f7f435ec80a79f606bf11d655e4 (patch) | |
tree | 61ef4e3be640887e3df5b025224e9d57b66d41df | |
parent | 2c1d7c12fa4f41a69d6c9267a34b1b767a1da522 (diff) | |
download | pfsense-572e46a27ad07f7f435ec80a79f606bf11d655e4.zip pfsense-572e46a27ad07f7f435ec80a79f606bf11d655e4.tar.gz |
PHP7 fixes: Use of undefined constants
-rwxr-xr-x | src/usr/local/www/interfaces.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index f6d8c4e..5f45d7d 100755 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -663,8 +663,8 @@ if ($_POST['apply']) { break; case "6rd": foreach ($ifdescrs as $ifent => $ifdescr) { - if ($if != $ifent && ($config[interfaces][$ifent]['ipaddrv6'] == $_POST['type6'])) { - if ($config[interfaces][$ifent]['prefix-6rd'] == $_POST['prefix-6rd']) { + if ($if != $ifent && ($config['interfaces'][$ifent]['ipaddrv6'] == $_POST['type6'])) { + if ($config['interfaces'][$ifent]['prefix-6rd'] == $_POST['prefix-6rd']) { $input_errors[] = gettext("Only one interface can be configured within a single 6rd prefix."); break; } @@ -679,7 +679,7 @@ if ($_POST['apply']) { break; case "6to4": foreach ($ifdescrs as $ifent => $ifdescr) { - if ($if != $ifent && ($config[interfaces][$ifent]['ipaddrv6'] == $_POST['type6'])) { + if ($if != $ifent && ($config['interfaces'][$ifent]['ipaddrv6'] == $_POST['type6'])) { $input_errors[] = sprintf(gettext("Only one interface can be configured as 6to4."), $_POST['type6']); break; } |