Oops, mss clamp not allowed on input chain

master
Brie Bruns 2015-05-29 11:47:15 -06:00
parent 7e4cac96fa
commit f13c0fc66c
1 changed files with 0 additions and 2 deletions

View File

@ -183,12 +183,10 @@ function enable_mss_clamp {
[[ ${type} == "-" ]] && type="out"
[[ ${type} == "out" ]] && type="${OutFilter}"
[[ ${type} == "fwd" ]] && type="${FwdFilter}"
[[ ${type} == "in" ]] && type="${InFilter}"
[[ -z ${msssize} ]] && msssize="-"
[[ ${msssize} != "-" ]] && msssize="--set-mss ${msssize}"
[[ ${msssize} == "-" ]] && msssize="--clamp-mss-to-pmtu"
#[[ ${interface} != "all" ]] && interface="-o ${interface}"
[[ ${type} == "${InFilter}" ]] && interface="-i ${interface}"
[[ ${type} == "${OutFilter}" ]] && interface="-o ${interface}"
[[ ${isallinterfaces} == "yes" ]] && interface=""
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} Read: ${interface} ${mss} ${type} ${msssize}"