diff options
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index 48d9ae9..dc54f8f 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -101,10 +101,8 @@ if ($_GET['act'] == "del") { } if (!$input_errors) { - // Special case since every proxyarp vip is handled by the same daemon. - if ($a_vip[$_GET['id']]['mode'] == "proxyarp") - unset($a_vip[$_GET['id']]); interface_vip_bring_down($a_vip[$_GET['id']]); + unset($a_vip[$_GET['id']]); write_config(); mark_subsystem_dirty('vip'); header("Location: firewall_virtual_ip.php"); |