forked from extern/shorewall_code
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:
parent
e0e7b2a9f2
commit
9da507ae98
@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action Broadcast" unless $action =~
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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 ( $level, $tag ) = get_action_logging;
|
||||||
my $target = require_audit ( $action , $audit );
|
my $target = require_audit ( $action , $audit );
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ my ( $audit ) = get_action_params( 1 );
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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 ( $level, $tag ) = get_action_logging;
|
||||||
my $target;
|
my $target;
|
||||||
|
|
||||||
|
@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action Invalid" unless $action =~ /
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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 ( $level, $tag ) = get_action_logging;
|
||||||
my $target = require_audit ( $action , $audit );
|
my $target = require_audit ( $action , $audit );
|
||||||
|
|
||||||
|
@ -44,8 +44,6 @@ fatal_error "Invalid parameter ($action) to action NotSyn" unless $action =~ /^
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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 ( $level, $tag ) = get_action_logging;
|
||||||
my $target = require_audit ( $action , $audit );
|
my $target = require_audit ( $action , $audit );
|
||||||
|
|
||||||
|
@ -43,8 +43,6 @@ fatal_error "Invalid parameter ($action) to action RST" unless $action =~ /^(?:
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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 ( $level, $tag ) = get_action_logging;
|
||||||
my $target = require_audit ( $action , $audit );
|
my $target = require_audit ( $action , $audit );
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ my ( $disposition, $audit ) = get_action_params( 2 );
|
|||||||
|
|
||||||
my $chainref = get_action_chain;
|
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;
|
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)$/;
|
fatal_error q(The first argument to 'TCPFlags' must be ACCEPT, REJECT, or DROP) unless $disposition =~ /^(ACCEPT|REJECT|DROP)$/;
|
||||||
|
Loading…
Reference in New Issue
Block a user