Reverse inadvertent change to Zones.pm

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8400 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-04-08 16:09:22 +00:00
parent ebd9ce70d0
commit 92481b4e36

View File

@ -273,7 +273,6 @@ sub determine_zones()
$type = 'ipv4';
$ipv4 = 1;
} elsif ( $type =~ /^ipsec4?$/i ) {
fatal_error "IPSEC Zones require FASTACCEPT=No" if $config{FASTACCEPT};
$type = 'ipsec4';
} elsif ( $type =~ /^bport4?$/i ) {
warning_message "Bridge Port zones should have a parent zone" unless @parents;
@ -970,7 +969,6 @@ sub validate_hosts_file()
for my $option ( @options )
{
if ( $option eq 'ipsec' ) {
fatal_error "'ipsec' requires FASTACCEPT=No" if $config{FASTACCEPT};
$type = 'ipsec4';
$zoneref->{options}{complex} = 1;
$ipsec = 1;