Add some comments

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6281 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-08 03:38:18 +00:00
parent 08e578c1ac
commit 7d3e81a3da

View File

@ -659,7 +659,7 @@ sub finish_section ( $ ) {
# Helper for set_mss # Helper for set_mss
# #
sub set_mss1( $$ ) { sub set_mss1( $$ ) {
my ( $chain, $mss ) = ($_[0], $_[1]); my ( $chain, $mss ) = @_;
my $chainref = ensure_chain 'filter', $chain; my $chainref = ensure_chain 'filter', $chain;
my $policy = $chainref->{policy}; my $policy = $chainref->{policy};
@ -686,6 +686,9 @@ sub set_mss( $$$ ) {
} }
} }
#
# Interate over non-firewall zones adding TCPMSS rules as appropriate
#
sub setup_zone_mss() { sub setup_zone_mss() {
for my $zone ( grep $zones{$_}{type} ne 'firewall' , @zones ) { for my $zone ( grep $zones{$_}{type} ne 'firewall' , @zones ) {
my $zoneref = $zones{$zone}; my $zoneref = $zones{$zone};