Fix Fail2Ban jump lookup typo #2668

This commit is contained in:
Ilia Ross
2026-08-11 03:09:26 +02:00
parent bd0f9f9e5f
commit 57aecbfc79
+1 -1
View File
@@ -527,7 +527,7 @@ local @oldjumps = grep { $_->{'chain'} eq 'INPUT' &&
# Get all new fail2ban chain rules and inputs that jump to them
local @newrules = grep { $_->{'chain'} =~ /^f2b-/ } @$newrules;
local @newjumps = grep { $_->{'chain'} eq 'INPUT' &&
$_->{'j'}->[1] =~ /^f2b-/ } @newrules;
$_->{'j'}->[1] =~ /^f2b-/ } @$newrules;
# Re-create the chains
my @oldchains = &unique(map { $_->{'chain'} } @oldrules);