forked from extern/shorewall_code
Avoid early return in process_action()
This commit is contained in:
parent
6143c7ddbd
commit
8dc60e788f
@ -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 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user