mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02: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';
|
add_ijump $chainref, j => 'RETURN', d => '224.0.0.0/4' if $dropmulticast && $target ne 'CONTINUE' && $target ne 'ACCEPT';
|
||||||
|
|
||||||
if ( $default && $default ne 'none' ) {
|
if ( $default && $default ne 'none' ) {
|
||||||
my ( $inline ) = split ':', $default;
|
my ( $action ) = split ':', $default;
|
||||||
|
|
||||||
( $inline, my $param ) = get_target_param( $inline );
|
if ( ( $targets{$action} || 0 ) == INLINE ) {
|
||||||
|
|
||||||
if ( ( $targets{$inline} || 0 ) == INLINE ) {
|
|
||||||
#
|
#
|
||||||
# Default action is an inline
|
# Default action is an inline
|
||||||
#
|
#
|
||||||
process_inline( $inline, #Inline
|
( $action, my $param ) = get_target_param( $action );
|
||||||
|
|
||||||
|
process_inline( $action, #Inline
|
||||||
$chainref, #Chain
|
$chainref, #Chain
|
||||||
$loglevel, #Log Level and Tag
|
$loglevel, #Log Level and Tag
|
||||||
$default, #Target
|
$default, #Target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user