forked from extern/shorewall_code
Correct use of null value as a hash
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b0447b8bd3
commit
26d08b92c0
@ -1733,7 +1733,7 @@ sub process_host( ) {
|
||||
fatal_error "Invalid ipset name ($hosts)" unless $hosts =~ /^\+[a-zA-Z][-\w]*$/;
|
||||
}
|
||||
|
||||
fatal_error "Unknown interface ($interface)" unless ($interfaceref = $interfaces{$interface})->{root};
|
||||
fatal_error "Unknown interface ($interface)" unless ($interfaceref = $interfaces{$interface}) && $interfaceref->{root};
|
||||
} else {
|
||||
fatal_error "Invalid HOST(S) column contents: $hosts";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user