diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-07-06 15:40:20 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-07-06 15:40:20 -0500 |
commit | ee3b5c1572ed74503f6e4dfe156f6913d983aa62 (patch) | |
tree | 44d4e4f1a4bb77bab82da7acb35b8999cc7d9c4d /usr/local | |
parent | 7c771d19f3223c805e471f69e51dd5a9d4d44380 (diff) | |
download | pfsense-ee3b5c1572ed74503f6e4dfe156f6913d983aa62.zip pfsense-ee3b5c1572ed74503f6e4dfe156f6913d983aa62.tar.gz |
Don't check whether the QinQ interface exists when deleting. Unnecessarily
makes QinQ un-deletable where the parent interface no longer exists
(removed, config restored from diff hardware, etc.).
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/interfaces_qinq.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php index 78cd46c..2c6775d 100644 --- a/usr/local/www/interfaces_qinq.php +++ b/usr/local/www/interfaces_qinq.php @@ -65,8 +65,6 @@ if ($_GET['act'] == "del") { /* check if still in use */ if (qinq_inuse($id)) { $input_errors[] = gettext("This QinQ cannot be deleted because it is still being used as an interface."); - } elseif (empty($a_qinqs[$id]['vlanif']) || !does_interface_exist($a_qinqs[$id]['vlanif'])) { - $input_errors[] = gettext("QinQ interface does not exist"); } else { $qinq =& $a_qinqs[$id]; |