mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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.).
This commit is contained in:
parent
38b35612ea
commit
10c65c480c
@ -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];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user