Browse Source

Oops, mss clamp not allowed on input chain

tags/2.1
Brielle Bruns 5 years ago
parent
commit
f13c0fc66c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      lib/iptables.inc

+ 0
- 2
lib/iptables.inc 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}"


Loading…
Cancel
Save