summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-27 20:50:01 +0000
committerErmal <eri@pfsense.org>2013-12-27 20:50:01 +0000
commit57b02731c1d21f56d7e2106c6a569b4fcc528b57 (patch)
tree64f626208d403eb71bf8625ab2f837da6db0c630 /usr
parent53555bf2f796cd53cf649410fe1827a9a45fc4a7 (diff)
downloadpfsense-57b02731c1d21f56d7e2106c6a569b4fcc528b57.zip
pfsense-57b02731c1d21f56d7e2106c6a569b4fcc528b57.tar.gz
Remove not needed code
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 922caa8..51c2a02 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -650,8 +650,6 @@ if ($_POST['apply']) {
$parent_realhwif = $realhwif_array[0];
$parent_if = convert_real_interface_to_friendly_interface_name($parent_realhwif);
if (!empty($parent_if) && !empty($config['interfaces'][$parent_if]['mtu'])) {
- $parent_mtu = $config['interfaces'][$parent_if]['mtu'];
-
if ($_POST['mtu'] > intval($config['interfaces'][$parent_if]['mtu']))
$input_errors[] = gettext("MTU of a vlan should not be bigger than parent interface.");
}
OpenPOWER on IntegriCloud