forked from extern/shorewall_code
Detect missing target in merge_levels()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c61c9ba7eb
commit
25c53f5a60
@ -1129,6 +1129,8 @@ sub merge_levels ($$) {
|
||||
|
||||
my $target = $subparts[0];
|
||||
|
||||
fatal_error "Missing ACTION" unless supplied $target;
|
||||
|
||||
push @subparts, '' while @subparts < 3; #Avoid undefined values
|
||||
|
||||
my $sublevel = $subparts[1];
|
||||
|
Loading…
Reference in New Issue
Block a user