mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 11:20:53 +01:00
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:
parent
108ee0be91
commit
d49b31d7d0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user