Oops, mss clamp not allowed on input chain
parent
7e4cac96fa
commit
f13c0fc66c
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue