mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 03:10:39 +01:00
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:
parent
08e578c1ac
commit
7d3e81a3da
@ -659,7 +659,7 @@ sub finish_section ( $ ) {
|
||||
# Helper for set_mss
|
||||
#
|
||||
sub set_mss1( $$ ) {
|
||||
my ( $chain, $mss ) = ($_[0], $_[1]);
|
||||
my ( $chain, $mss ) = @_;
|
||||
my $chainref = ensure_chain 'filter', $chain;
|
||||
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() {
|
||||
for my $zone ( grep $zones{$_}{type} ne 'firewall' , @zones ) {
|
||||
my $zoneref = $zones{$zone};
|
||||
|
Loading…
Reference in New Issue
Block a user