From 57aecbfc7976ae2cd09e6a0ad27e3f02771b45c4 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Tue, 11 Aug 2026 03:09:26 +0200 Subject: [PATCH] Fix Fail2Ban jump lookup typo #2668 --- firewall/firewall-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall/firewall-lib.pl b/firewall/firewall-lib.pl index 7b3b5c069..f66adda43 100755 --- a/firewall/firewall-lib.pl +++ b/firewall/firewall-lib.pl @@ -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);