mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
typo in d4b2f161e8, closes https://github.com/opnsense/core/issues/2992
This commit is contained in:
parent
1912290b5a
commit
b89a9e5b66
@ -178,7 +178,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
if ($pconfig['source'] == "any" && !empty($pconfig['source_not'])) {
|
||||
$input_errors[] = gettext("Negating source address of \"any\" is invalid.");
|
||||
}
|
||||
if (!is_specialnet($pconfig['destination']) && is_ipaddroralias($pconfig['destination'])) {
|
||||
if (!is_specialnet($pconfig['destination']) && !is_ipaddroralias($pconfig['destination'])) {
|
||||
$input_errors[] = gettext("A valid destination must be specified.");
|
||||
}
|
||||
if (!empty($pconfig['destination_subnet']) && !is_numericint($pconfig['destination_subnet'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user