From e23876b582c6f2ceb3bcf1eed55af6004cc7f05d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 21 Jan 2013 07:36:50 -0800 Subject: [PATCH] Rename '$inline' to '$action' in policy_rules() Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 7bdea5752..d82fe2f8e 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -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