From 0be295ac38f558720f57929a3ecdfda43a06eff8 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 15 Sep 2016 19:36:36 +0200 Subject: [PATCH] (firewall, nati) wrong validation --- src/www/firewall_nat_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }