Remove error messages from 6 actions regarding in-line.

- The compiler now ignores 'inline' for these actions.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-12-02 07:13:09 -08:00
parent e0e7b2a9f2
commit 9da507ae98
6 changed files with 0 additions and 12 deletions

View File

@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action Broadcast" unless $action =~
my $chainref = get_action_chain;
fatal_error "The Broadcast Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
my $target = require_audit ( $action , $audit );

View File

@ -24,8 +24,6 @@ my ( $audit ) = get_action_params( 1 );
my $chainref = get_action_chain;
fatal_error "The DropSmurfs Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
my $target;

View File

@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action Invalid" unless $action =~ /
my $chainref = get_action_chain;
fatal_error "The Invalid Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
my $target = require_audit ( $action , $audit );

View File

@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action NotSyn" unless $action =~ /^
my $chainref = get_action_chain;
fatal_error "The NotSyn Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
my $target = require_audit ( $action , $audit );

View File

@ -43,8 +43,6 @@ fatal_error "Invalid parameter ($action) to action RST" unless $action =~ /^(?:
my $chainref = get_action_chain;
fatal_error "The RST Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
my $target = require_audit ( $action , $audit );

View File

@ -22,8 +22,6 @@ my ( $disposition, $audit ) = get_action_params( 2 );
my $chainref = get_action_chain;
fatal_error "The TCPFlags Action may not be invoked in-line" unless $chainref->{action};
my ( $level, $tag ) = get_action_logging;
fatal_error q(The first argument to 'TCPFlags' must be ACCEPT, REJECT, or DROP) unless $disposition =~ /^(ACCEPT|REJECT|DROP)$/;