mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-21 22:36:17 +02:00
Avoid early return in process_action()
This commit is contained in:
@@ -689,9 +689,7 @@ sub process_action( $) {
|
|||||||
if ( $targets{$action} & BUILTIN ) {
|
if ( $targets{$action} & BUILTIN ) {
|
||||||
$level = '' if $level =~ /none!?/;
|
$level = '' if $level =~ /none!?/;
|
||||||
$builtinops{$action}->( $chainref, $level, $tag, $param );
|
$builtinops{$action}->( $chainref, $level, $tag, $param );
|
||||||
return;
|
} else {
|
||||||
}
|
|
||||||
|
|
||||||
my $actionfile = find_file "action.$action";
|
my $actionfile = find_file "action.$action";
|
||||||
my $format = 1;
|
my $format = 1;
|
||||||
|
|
||||||
@@ -754,6 +752,7 @@ sub process_action( $) {
|
|||||||
pop_open;
|
pop_open;
|
||||||
|
|
||||||
pop_params( $oldparms );
|
pop_params( $oldparms );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user