mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 14:48:51 +01:00
Allow config with only local and firewall zones.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9b0b3d4b70
commit
446f764d19
@ -506,6 +506,7 @@ sub process_zone( \$ ) {
|
|||||||
} elsif ( $type eq 'local' ) {
|
} elsif ( $type eq 'local' ) {
|
||||||
push @local_zones, $zone;
|
push @local_zones, $zone;
|
||||||
$type = LOCAL;
|
$type = LOCAL;
|
||||||
|
$$ip = 1;
|
||||||
} elsif ( $type eq 'loopback' ) {
|
} elsif ( $type eq 'loopback' ) {
|
||||||
push @loopback_zones, $zone;
|
push @loopback_zones, $zone;
|
||||||
$type = LOOPBACK;
|
$type = LOOPBACK;
|
||||||
|
Loading…
Reference in New Issue
Block a user