diff --git a/src/www/firewall_nat_edit.php b/src/www/firewall_nat_edit.php index 81491b99b..28f72281f 100644 --- a/src/www/firewall_nat_edit.php +++ b/src/www/firewall_nat_edit.php @@ -152,7 +152,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $reqdfields[] = "dst"; $reqdfieldsn[] = gettext("Destination address"); - if (!empty($pconfig['nordr'])) { + if (empty($pconfig['nordr'])) { $reqdfields[] = "target"; $reqdfieldsn[] = gettext("Redirect target IP"); }