diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index f25e4e6c4..fe7805390 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -690,7 +690,7 @@ 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 ) { + for my $zone ( @zones ) { my $zoneref = $zones{$zone}; set_mss( $zone, $zoneref->{options}{in_out}{mss}, '' ) if $zoneref->{options}{in_out}{mss};