diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index d3a572501..e50590dbe 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1834,6 +1834,8 @@ sub validate_hosts_file() $have_ipsec = $ipsec || haveipseczones; + $_->{options}{complex} ||= ( keys %{$_->{interfaces}} > 1 ) for values %zones; + } #