summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-04 16:34:14 +0000
committerErmal <eri@pfsense.org>2010-06-04 16:34:14 +0000
commit5523fa3d2d35067a33504f9d143039d60e957adf (patch)
tree9a06131a4de0a564ac68fb7aef06761918f25bae
parent956950dea4f933af197b061b5e32a527544e375c (diff)
downloadpfsense-5523fa3d2d35067a33504f9d143039d60e957adf.zip
pfsense-5523fa3d2d35067a33504f9d143039d60e957adf.tar.gz
Fixes #632. Actually pass the interface and not the vip configuration to the function.
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 415ced4..b84d8b0 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -155,7 +155,7 @@ if ($_POST) {
if (isset($id) && ($a_vip[$id])) {
if ($a_vip[$id]['mode'] != $_POST['mode'])
- interface_bring_down($a_vip[$id]);
+ interface_bring_down($a_vip[$id]['interface']);
}
if (!$input_errors) {
OpenPOWER on IntegriCloud