summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-07-06 15:40:20 -0500
committerChris Buechler <cmb@pfsense.org>2015-07-06 15:41:49 -0500
commit10c65c480ca159fbf390ff7cba216c6cba5c46fc (patch)
tree5eae16dd64637874964a407d84a0557da5929ffd /usr/local/www
parent38b35612ea912ae72233b2a310f47f8b6d8fe586 (diff)
downloadpfsense-10c65c480ca159fbf390ff7cba216c6cba5c46fc.zip
pfsense-10c65c480ca159fbf390ff7cba216c6cba5c46fc.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/www')
-rw-r--r--usr/local/www/interfaces_qinq.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php
index f088862..dac5801 100644
--- a/usr/local/www/interfaces_qinq.php
+++ b/usr/local/www/interfaces_qinq.php
@@ -67,8 +67,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];
OpenPOWER on IntegriCloud