forked from extern/shorewall_code
Fix bug with 'any'
This commit is contained in:
parent
aa00acc310
commit
69eaf84078
@ -740,7 +740,13 @@ sub non_firewall_zones() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub all_parent_zones() {
|
sub all_parent_zones() {
|
||||||
grep ( ! @{$zones{$_}{parents}} , @zones );
|
#
|
||||||
|
# Although the firewall zone is a parent zone, we let the caller decide
|
||||||
|
# if it is to be included or not.
|
||||||
|
#
|
||||||
|
grep ( ! ( $zones{$_}->{type} == FIREWALL ||
|
||||||
|
$zones{$_}->{type} == VSERVER ||
|
||||||
|
@{$zones{$_}{parents}} ) , @zones );
|
||||||
}
|
}
|
||||||
|
|
||||||
sub complex_zones() {
|
sub complex_zones() {
|
||||||
|
Loading…
Reference in New Issue
Block a user