public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] rules.pl: fix missing blank in 'if'-condition
Date: Mon, 21 Aug 2017 18:16:43 +0200	[thread overview]
Message-ID: <1bdbdece-3cbb-9a7b-628e-506cc18da2bc@ipfire.org> (raw)
In-Reply-To: <1503314272.2673.11.camel@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]

Hi,

For unknown reasons I couldn't reproduce this error even with the
original file. So I deferred this patch - I'm not sure anymore that this
is really a bug!?

The whole story (german) can be found here:
https://forum.ipfire.org/viewtopic.php?f=22&t=19304

I fear I was a bit too fast...

Best,
Matthias

On 21.08.2017 13:17, Michael Tremer wrote:
> Hi,
> 
> this has been set to deferred on Patchwork. Why?
> 
> Best,
> -Michael
> 
> On Sat, 2017-08-19 at 13:30 +0200, Matthias Fischer wrote:
>> Triggered by https://forum.ipfire.org/viewtopic.php?f=22&t=19304
>> 
>> Best,
>> Matthias
>> 
>> Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
>> ---
>>  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");
>>  		}
>>  	}
> 


      reply	other threads:[~2017-08-21 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19 11:30 Matthias Fischer
2017-08-21 11:17 ` Michael Tremer
2017-08-21 16:16   ` Matthias Fischer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bdbdece-3cbb-9a7b-628e-506cc18da2bc@ipfire.org \
    --to=matthias.fischer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox