diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index d95397a6a..5ef6582b3 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -354,7 +354,7 @@ sub initialize( $ ) { # # Current rules file section. # - $section = 'ESTABLISHED'; + $section = ''; # # Contents of last COMMENT line. # @@ -2691,11 +2691,11 @@ sub do_ipsec($) { if ( @options == 1 ) { if ( lc( $options[0] ) =~ /^(yes|ipsec)$/ ) { - return do_ipsec_option $dir, 'ipsec', ''; + return do_ipsec_options $dir, 'ipsec', ''; } if ( lc( $options[0] ) =~ /^(no|none)$/ ) { - return do_ipsec_option $dir, 'ipsec', ''; + return do_ipsec_options $dir, 'none', ''; } }