From d49b31d7d024dd2bf7525d223237b8e98baf623e Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 16 Jun 2007 14:56:17 +0000 Subject: [PATCH] Fix bug in CLAMPMSS= processing git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6562 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 80f522b77..831fbbc25 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -1793,7 +1793,7 @@ sub setup_mss( $ ) { $option = '--clamp-mss-to-pmtu'; } else { $match = "-m tcpmss --mss $clampmss: " if $capabilities{TCPMSS_MATCH}; - $option = '--set-mss $clampmss'; + $option = "--set-mss $clampmss"; } add_rule $filter_table->{FORWARD} , "-p tcp --tcp-flags SYN,RST SYN ${match}-j TCPMSS $option";