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
60012d1208
commit
4ec47783f1
@ -1128,6 +1128,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