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 051f09c35d
commit c5aa17017d

View File

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