Correct typos in check_rules().

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-09 11:42:54 -08:00
parent a4297381e9
commit c04c61b314

View File

@ -2686,8 +2686,8 @@ sub check_state( $ ) {
#
# This is a state chain
#
return $state eq 'RELATED' ? 2 : 0 if $_ eq '+';
return $state eq 'INVALID' ? 2 : 0 if $_ eq '_';
return $state eq 'RELATED' ? 2 : 0 if $1 eq '+';
return $state eq 'INVALID' ? 2 : 0 if $1 eq '_';
return $state eq 'UNTRACKED' ? 2 : 0;
}