From 57b02731c1d21f56d7e2106c6a569b4fcc528b57 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 27 Dec 2013 20:50:01 +0000 Subject: Remove not needed code --- usr/local/www/interfaces.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr') 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."); } -- cgit v1.1