Fix handling of ipsec option in the hosts file

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6936 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-07-22 13:40:37 +00:00
parent 991be0ac16
commit 853fa1b7d5
3 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,8 @@ Changes in 4.0.1
2) Fix uninstallers.
3) Correct handling of 'ipsec' option in the hosts file.
Changes in 4.0.0 Final
1) Fix lite install.sh manpage problem.

View File

@ -43,6 +43,10 @@ Problems corrected in 4.0.1.
two products from clearing the firewall configuration established
by the other one.
4) The 'ipsec' OPTION in /etc/shorewall/hosts was ignored by
Shorewall-perl. If the zone type was changed to 'ipsec' or
'ipsec4', the configuration worked properly.
Other changes in Shorewall 4.0.1.
1) A new EXPAND_POLICIES option is added to shorewall.conf. The

View File

@ -880,7 +880,7 @@ sub validate_hosts_file()
for my $option ( @options )
{
if ( $option eq 'ipsec' ) {
$type = 'ipsec';
$type = 'ipsec4';
$zoneref->{options}{complex} = 1;
$ipsec = 1;
} elsif ( $validoptions{$option}) {