summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-12 12:55:32 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-12 12:55:32 -0300
commite73b001e2585b55973faaf0be199a5f438c4ae89 (patch)
tree6dc08100313fe95ab4ca2dfa9883c23152dd4538 /usr/local/www/firewall_virtual_ip_edit.php
parent3e6ec5dfba9679f6b521962269aca9570e391abb (diff)
parent3e4f5a3359ebcc46710f37466620d0c0cdfd7293 (diff)
downloadpfsense-e73b001e2585b55973faaf0be199a5f438c4ae89.zip
pfsense-e73b001e2585b55973faaf0be199a5f438c4ae89.tar.gz
Merge remote branch 'mainline/master'
Conflicts: usr/local/www/diag_smart.php usr/local/www/firewall_rules_edit.php usr/local/www/interfaces.php usr/local/www/load_balancer_pool_edit.php usr/local/www/pkg_mgr_settings.php
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-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 b3a2cec..2958657 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -149,7 +149,7 @@ if ($_POST) {
} else if ($parent_sn != $_POST['subnet_bits'])
$input_errors[] = gettext("Subnet bits needs to be the same as the parent interface.");
- if ($a_vip[$id]['vhid'] != $_POST['vhid'])
+ if (isset($id) && ($a_vip[$id]) && $a_vip[$id]['vhid'] != $_POST['vhid'])
interface_vip_bring_down($a_vip[$id]);
}
OpenPOWER on IntegriCloud