Fix old state match

This commit is contained in:
Tom Eastep 2011-08-08 20:32:02 -07:00
parent 35457f4e95
commit 8fe064914b

View File

@ -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" );
}
#