Revision ac8c5e56
Added by Erik Fonnesbeck almost 15 years ago
usr/local/www/firewall_virtual_ip_edit.php | ||
---|---|---|
149 | 149 |
} else if ($parent_sn != $_POST['subnet_bits']) |
150 | 150 |
$input_errors[] = gettext("Subnet bits needs to be the same as the parent interface."); |
151 | 151 |
|
152 |
if ($a_vip[$id]['vhid'] != $_POST['vhid']) |
|
152 |
if (isset($id) && ($a_vip[$id]) && $a_vip[$id]['vhid'] != $_POST['vhid'])
|
|
153 | 153 |
interface_vip_bring_down($a_vip[$id]); |
154 | 154 |
} |
155 | 155 |
|
Also available in: Unified diff
Do not try to bring down a CARP VIP for an entry that does not exist yet. Fixes #819