mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Capitalize IP
This commit is contained in:
parent
9764f4701f
commit
27ecd06e76
@ -165,16 +165,16 @@
|
||||
$ifdescrs['opt' . $j] = "opt" . $j;
|
||||
foreach($ifdescrs as $descr)
|
||||
if($config['interfaces']['$descr']['ipaddr'] == $_POST["synchronizetoip"])
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall ip! You cannot specify this firewalls IP in this location.";
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall IP! You cannot specify this firewalls IP in this location.";
|
||||
if($config['virtualip']['vip']) {
|
||||
foreach($config['virtualip']['vip'] as $vip) {
|
||||
if($vip['subnet'] == $_POST["synchronizetoip"])
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall ip! You cannot specify this firewalls IP in this location.";
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall IP! You cannot specify this firewalls IP in this location.";
|
||||
}
|
||||
}
|
||||
$wanip = find_interface_ip(get_real_wan_interface());
|
||||
if($wanip == $_POST["synchronizetoip"])
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall ip! You cannot specify this firewalls IP in this location.";
|
||||
$input_errors[] = "CARP sync IP must be the backup firewall IP! You cannot specify this firewalls IP in this location.";
|
||||
</custom_php_validation_command>
|
||||
<custom_add_php_command_late>
|
||||
/* setup carp interfaces */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user