Allow config with only local and firewall zones.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-28 08:03:44 -07:00
parent 9b0b3d4b70
commit 446f764d19

View File

@ -506,6 +506,7 @@ sub process_zone( \$ ) {
} elsif ( $type eq 'local' ) {
push @local_zones, $zone;
$type = LOCAL;
$$ip = 1;
} elsif ( $type eq 'loopback' ) {
push @loopback_zones, $zone;
$type = LOOPBACK;