Make zones with multiple interfaces complex

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-06-10 13:00:58 -07:00
parent dbd30f981c
commit 32c7d36cd0

View File

@ -1834,6 +1834,8 @@ sub validate_hosts_file()
$have_ipsec = $ipsec || haveipseczones;
$_->{options}{complex} ||= ( keys %{$_->{interfaces}} > 1 ) for values %zones;
}
#