summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-11-28 18:36:03 +0000
committerErmal <eri@pfsense.org>2013-11-28 18:36:18 +0000
commit7238e0cfc840d175e5b0dd650730fc21b6a9b368 (patch)
tree7a3b20dd35ddf6019eb61f612d10711de12c03e4 /usr/local/www/firewall_virtual_ip.php
parentd11134243489f7cea17cdc4c04a0624b0c16ed18 (diff)
downloadpfsense-7238e0cfc840d175e5b0dd650730fc21b6a9b368.zip
pfsense-7238e0cfc840d175e5b0dd650730fc21b6a9b368.tar.gz
Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code
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