summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-16 16:07:16 +0000
committerErmal <eri@pfsense.org>2010-06-16 16:07:16 +0000
commit962fd685516ae137674ed0cde2445ebbeeefbdff (patch)
tree4c4eb2f210e97c9fdd81319ffe92c4c2d02e7b7e /usr/local/www/firewall_virtual_ip.php
parent096ee9c22de0afd71a17518bcb112807e46fe49a (diff)
downloadpfsense-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-xusr/local/www/firewall_virtual_ip.php3
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);
OpenPOWER on IntegriCloud