Fix bug in CLAMPMSS=<number> processing

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6562 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-16 14:56:17 +00:00
parent 108ee0be91
commit d49b31d7d0

View File

@ -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";