diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-11-15 20:38:49 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-11-15 20:38:49 +0000 |
commit | 5d5ec271de58dd8306fa7bacfb439b07b3dd2e51 (patch) | |
tree | 2c96e96a92c1ac75f1d6451834aa8a1fe97ebcb6 | |
parent | 5d55ecfc053fa4577fd0b7f62dfbada16a536fda (diff) | |
download | pfsense-5d5ec271de58dd8306fa7bacfb439b07b3dd2e51.zip pfsense-5d5ec271de58dd8306fa7bacfb439b07b3dd2e51.tar.gz |
Resolves #153 Treat proxyarp special case during deletion.
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index dc54f8f..48d9ae9 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -101,8 +101,10 @@ 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"); |