diff options
author | Ermal <eri@pfsense.org> | 2010-06-16 16:07:16 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-16 16:07:16 +0000 |
commit | 962fd685516ae137674ed0cde2445ebbeeefbdff (patch) | |
tree | 4c4eb2f210e97c9fdd81319ffe92c4c2d02e7b7e /usr/local/www/firewall_virtual_ip.php | |
parent | 096ee9c22de0afd71a17518bcb112807e46fe49a (diff) | |
download | pfsense-962fd685516ae137674ed0cde2445ebbeeefbdff.zip pfsense-962fd685516ae137674ed0cde2445ebbeeefbdff.tar.gz |
Fixes #632. When bringing down a vip of proxyarp use the new pidfile introduced. Also teach about interface argument to proxyarp function so it can start only a instance of an interface.
Diffstat (limited to 'usr/local/www/firewall_virtual_ip.php')
-rwxr-xr-x | usr/local/www/firewall_virtual_ip.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip.php b/usr/local/www/firewall_virtual_ip.php index 1d2e634..f4b4567 100755 --- a/usr/local/www/firewall_virtual_ip.php +++ b/usr/local/www/firewall_virtual_ip.php @@ -72,7 +72,7 @@ if ($_POST) { interface_ipalias_configure($a_vip[$vid]); break; case "proxyarp": - interface_proxyarp_configure(); + interface_proxyarp_configure($a_vip[$vid]['interface']); break; case "carp": interface_carp_configure($a_vip[$vid]); @@ -85,6 +85,7 @@ if ($_POST) { } } } + @unlink("{$g['tmp_path']}/firewall_virtual_ip.apply"); $retval = 0; $retval |= filter_configure(); $savemsg = get_std_save_message($retval); |