From e03b0a03fb52f94e4f2a85baecdcb9ada18ec939 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 14 Jun 2010 11:29:31 +0000 Subject: Fixes #632. Use the correct function to handle vip destory. --- usr/local/www/firewall_virtual_ip_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php index b84d8b0..d8a44db 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']); + interface_vip_bring_down($a_vip[$id]); } if (!$input_errors) { -- cgit v1.1