mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-29 17:09:32 +01: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:
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# This module combines the former Policy, Rules and Actions modules.
|
||||
@ -479,7 +479,7 @@ sub process_policies()
|
||||
if ( "\L$action" eq 'none' ) {
|
||||
$action = 'none';
|
||||
} 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 );
|
||||
} elsif ( $targets{$act} ) {
|
||||
fatal_error "Invalid setting ($action) for $option";
|
||||
|
Loading…
Reference in New Issue
Block a user