summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-11-17 16:06:46 +0100
committerPhil Sutter <phil@nwl.cc>2022-11-24 10:24:06 +0100
commite05d9af176cb2a62c1bd24fa1d82b12a8ad00221 (patch)
treeb140b4f015114e139d173a8e757ab3d75a220ef9 /extensions
parentc4fc6440a6f39606e38744bfc827852bb68829f4 (diff)
extensions: TCPMSS: Use xlate callback for IPv6, too
Data structures are identical and the translation is layer3-agnostic. Fixes: bebce197adb42 ("iptables: iptables-compat translation for TCPMSS") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_TCPMSS.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_TCPMSS.c b/extensions/libxt_TCPMSS.c
index 0d9b200e..251a5532 100644
--- a/extensions/libxt_TCPMSS.c
+++ b/extensions/libxt_TCPMSS.c
@@ -131,6 +131,7 @@ static struct xtables_target tcpmss_tg_reg[] = {
.x6_parse = TCPMSS_parse,
.x6_fcheck = TCPMSS_check,
.x6_options = TCPMSS6_opts,
+ .xlate = TCPMSS_xlate,
},
};