mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 02:08:48 +02:00
Fix another empty parameter list issue
This commit is contained in:
parent
6cc2503f60
commit
5740b69dc6
@ -22,7 +22,7 @@
|
|||||||
#
|
#
|
||||||
# This module handles policies and rules. It contains:
|
# This module handles policies and rules. It contains:
|
||||||
#
|
#
|
||||||
# process_policies() and it's associated helpers.
|
# process_() and it's associated helpers.
|
||||||
# process_rules() and it's associated helpers for handling Actions and Macros.
|
# process_rules() and it's associated helpers for handling Actions and Macros.
|
||||||
#
|
#
|
||||||
# This module combines the former Policy, Rules and Actions modules.
|
# This module combines the former Policy, Rules and Actions modules.
|
||||||
@ -479,7 +479,7 @@ sub process_policies()
|
|||||||
if ( "\L$action" eq 'none' ) {
|
if ( "\L$action" eq 'none' ) {
|
||||||
$action = 'none';
|
$action = 'none';
|
||||||
} elsif ( $actions{$act} ) {
|
} elsif ( $actions{$act} ) {
|
||||||
$action = supplied $param ? normalize_action( $act, 'none', $param ) : normalize_action_name $action;
|
$action = supplied $param ? normalize_action( $act, 'none', $param ) : normalize_action_name $act;
|
||||||
use_policy_action( $action );
|
use_policy_action( $action );
|
||||||
} elsif ( $targets{$act} ) {
|
} elsif ( $targets{$act} ) {
|
||||||
fatal_error "Invalid setting ($action) for $option";
|
fatal_error "Invalid setting ($action) for $option";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user