Remove cruft from two actions.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-02-04 10:11:51 -08:00
parent f6faef7cd0
commit 3757607356
2 changed files with 0 additions and 10 deletions

View File

@ -40,10 +40,6 @@ use Shorewall::Rules;
my ( $action ) = get_action_params( 1 ); my ( $action ) = get_action_params( 1 );
my ( $level, $tag ) = get_action_logging;
$action = join( ':', $action, $level, $tag ) if "${level}${tag}";
if ( my $check = check_state( 'NEW' ) ) { if ( my $check = check_state( 'NEW' ) ) {
perl_action_helper( $action, $check == 1 ? "$globals{STATEMATCH} NEW" : '' ); perl_action_helper( $action, $check == 1 ? "$globals{STATEMATCH} NEW" : '' );
} }

View File

@ -40,16 +40,10 @@ use Shorewall::Rules;
my ( $action ) = get_action_params( 1 ); my ( $action ) = get_action_params( 1 );
my ( $level, $tag ) = get_action_logging;
$action = join( ':', $action, $level, $tag ) if "${level}${tag}";
if ( my $check = check_state( 'UNTRACKED' ) ) { if ( my $check = check_state( 'UNTRACKED' ) ) {
perl_action_helper( $action, $check == 1 ? "$globals{STATEMATCH} UNTRACKED" : '' ); perl_action_helper( $action, $check == 1 ? "$globals{STATEMATCH} UNTRACKED" : '' );
} }
allow_optimize( get_action_chain );
1; 1;
?END PERL; ?END PERL;