From 8fe064914b5224e7a6496ea547ee07c91a25399a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 8 Aug 2011 20:32:02 -0700 Subject: [PATCH] Fix old state match --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 4f6043a49..eabae8ac3 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -2894,7 +2894,7 @@ sub port_count( $ ) { sub state_imatch( $ ) { my $state = shift; - have_capability 'CONNTRACK_MATCH' ? ( conntrack => "--ctstate $state" ) : ( state => $state ); + have_capability 'CONNTRACK_MATCH' ? ( conntrack => "--ctstate $state" ) : ( state => "--state $state" ); } #