Rename '$inline' to '$action' in policy_rules()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-21 07:36:50 -08:00
parent 64e76599e0
commit e23876b582

View File

@ -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