From 11b976fb36c8dbce224b8cd74cdd379928492b3b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 5 Feb 2013 19:55:22 -0800 Subject: [PATCH] Correct reference type in check_state() Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 092cb7db3..b423b9eaf 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2707,7 +2707,7 @@ sub check_state( $ ) { # # We're past that section -- see if there was a separate state chain # - if ( my $statechainref = $filter_table->{"$statetable{$state}{char}$chainref->{name}"} ) { + if ( my $statechainref = $filter_table->{"$statetable{$state}[0]$chainref->{name}"} ) { # # There was -- if the chain had a RETURN then we will emit the current rule; otherwise we won't #