Correct reference type in check_state()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-05 19:55:22 -08:00
parent a6ccd53fe0
commit 11b976fb36

View File

@ -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
#