From b89a9e5b66eb5451876100c0fa92bbe3ad54fc66 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 1 Dec 2018 14:41:18 +0100 Subject: [PATCH] typo in https://github.com/opnsense/core/commit/d4b2f161e8f6379ccda95a049a6681b7be4e5380, closes https://github.com/opnsense/core/issues/2992 --- src/www/firewall_nat_out_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_nat_out_edit.php b/src/www/firewall_nat_out_edit.php index 44dcfc076..cafed4b19 100644 --- a/src/www/firewall_nat_out_edit.php +++ b/src/www/firewall_nat_out_edit.php @@ -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'])) {