From 64c4d89b9dd99b9041f0984bec39ed76ed9dc978 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 14 Mar 2019 09:29:14 +0100 Subject: [PATCH] firewall, source nat, typo in destination address, closes https://github.com/opnsense/core/issues/3321 --- 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 754bc8961..19a066337 100644 --- a/src/www/firewall_nat_out_edit.php +++ b/src/www/firewall_nat_out_edit.php @@ -286,7 +286,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { if ($pconfig['destination'] == "any") { $natent['destination']['any'] = true; } elseif (is_alias($pconfig['destination']) || is_specialnet($pconfig['destination'])){ - $natent['destination']['address'] = trim($pconfig['destination']) ; + $natent['destination']['network'] = trim($pconfig['destination']) ; } else { if (is_ipaddrv6($pconfig['destination'])) { $natent['destination']['address'] = gen_subnetv6(trim($pconfig['destination']), $pconfig['destination_subnet']) . "/" . $pconfig['destination_subnet'];