Revision a142c38d
Added by Scott Ullrich over 17 years ago
etc/inc/interfaces.inc | ||
---|---|---|
453 | 453 |
if (ip_in_subnet($vip['subnet'], gen_subnet($ww_subnet_ip, $ww_subnet_bits) . "/" . $ww_subnet_bits)) |
454 | 454 |
$found = true; |
455 | 455 |
} |
456 |
if($found == false) |
|
457 |
continue; |
|
458 |
|
|
456 |
if($found == false) { |
|
457 |
file_notice("CARP", "Sorry but we could not find a matching real interface subnet for the virtual IP address {$vip['subnet']}.", "Firewall: Virtual IP", ""); |
|
458 |
continue; |
|
459 |
} |
|
459 | 460 |
/* create the carp interface and setup */ |
460 | 461 |
mwexec("/sbin/ifconfig carp" . $carp_instances_counter . " create"); |
461 | 462 |
|
Also available in: Unified diff
File an alert we cannot find a matching subnet for a CARP IP address.