mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Rename '$inline' to '$action' in policy_rules()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
64e76599e0
commit
e23876b582
@ -603,15 +603,15 @@ sub policy_rules( $$$$$ ) {
|
||||
add_ijump $chainref, j => 'RETURN', d => '224.0.0.0/4' if $dropmulticast && $target ne 'CONTINUE' && $target ne 'ACCEPT';
|
||||
|
||||
if ( $default && $default ne 'none' ) {
|
||||
my ( $inline ) = split ':', $default;
|
||||
my ( $action ) = split ':', $default;
|
||||
|
||||
( $inline, my $param ) = get_target_param( $inline );
|
||||
|
||||
if ( ( $targets{$inline} || 0 ) == INLINE ) {
|
||||
if ( ( $targets{$action} || 0 ) == INLINE ) {
|
||||
#
|
||||
# Default action is an inline
|
||||
#
|
||||
process_inline( $inline, #Inline
|
||||
( $action, my $param ) = get_target_param( $action );
|
||||
|
||||
process_inline( $action, #Inline
|
||||
$chainref, #Chain
|
||||
$loglevel, #Log Level and Tag
|
||||
$default, #Target
|
||||
|
Loading…
Reference in New Issue
Block a user