From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] rules.pl: fix missing blank in 'if'-condition Date: Sat, 19 Aug 2017 13:30:58 +0200 Message-ID: <20170819113058.25195-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6025188923656501836==" List-Id: --===============6025188923656501836== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Triggered by https://forum.ipfire.org/viewtopic.php?f=22&t=19304 Best, Matthias Signed-off-by: Matthias Fischer --- config/firewall/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 8b0c6ddc8..efbe9cfef 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -608,7 +608,7 @@ sub geoipblock { # create iptables rules, if blocking this country # is enabled. foreach my $location (@locations) { - if($geoipsettings{$location} eq "on") { + if ($geoipsettings{$location} eq "on") { run("$IPTABLES -A GEOIPBLOCK -m geoip --src-cc $location -j DROP"); } } -- 2.14.1 --===============6025188923656501836==--