From 44268f76aa35b22b7f1cc3295b005bfbd533dac7 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 9 Apr 2007 15:21:00 +0000 Subject: [PATCH] Fix CLAMPMSS handling git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5867 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index de8fd588d..3118132f5 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1670,7 +1670,7 @@ sub generate_matrix() { sub setup_mss( $ ) { my $clampmss = $_[0]; - my $option = "\Lclampmss" eq 'yes' ? '--clamp-mss-to-pmtu' : '--set-mss $clampmss'; + my $option = "\L$clampmss" eq 'yes' ? '--clamp-mss-to-pmtu' : '--set-mss $clampmss'; add_rule $filter_table->{FORWARD} , "-p tcp --tcp-flags SYN,RST SYN -j TCPMSS $option"; }