mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
missed a spot in previous, for https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
1f6aac10a4
commit
0dddfd14cd
@ -287,7 +287,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
}
|
||||
|
||||
if (is_ipaddr($pconfig['src']) && is_ipaddr($pconfig['dst']) && !validate_address_family($pconfig['src'], $pconfig['dst'])) {
|
||||
if (is_ipaddr($pconfig['src']) && is_ipaddr($pconfig['dst'])) {
|
||||
if ((is_ipaddrv4($pconfig['src']) && is_ipaddrv6($pconfig['dst'])) || (is_ipaddrv6($pconfig['src']) && is_ipaddrv4($pconfig['dst']))) {
|
||||
$input_errors[] = sprintf(gettext("The Source IP address %s Address Family differs from the destination %s."), $pconfig['src'], $pconfig['dst']);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user