Fix old state match

This commit is contained in:
Tom Eastep 2011-08-08 20:32:02 -07:00
parent 4824c9b8ff
commit 67c1fa1e63

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