summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-xusr/local/www/firewall_virtual_ip.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php
index 3a3cb3d..86f0c85 100755
--- a/usr/local/www/firewall_virtual_ip.php
+++ b/usr/local/www/firewall_virtual_ip.php
@@ -157,14 +157,7 @@ if ($_GET['act'] == "del") {
if ($found_carp === true && $found_other_alias === false)
$input_errors[] = gettext("This entry cannot be deleted because it is still referenced by a CARP IP with the description") . " {$vip['descr']}.";
- } else if ($a_vip[$_GET['id']]['mode'] == "carp") {
- $vipiface = "{$a_vip[$_GET['id']]['interface']}_vip{$a_vip[$_GET['id']]['vhid']}";
- foreach ($a_vip as $vip) {
- if ($vipiface == $vip['interface'] && $vip['mode'] == "ipalias")
- $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by an IP alias entry with the description") . " {$vip['descr']}.";
- }
}
-
if (!$input_errors) {
if (!session_id())
OpenPOWER on IntegriCloud