From: Phil Sutter Date: Thu, 17 Nov 2022 15:06:46 +0000 (+0100) Subject: extensions: TCPMSS: Use xlate callback for IPv6, too X-Git-Tag: v1.8.9~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e05d9af176cb2a62c1bd24fa1d82b12a8ad00221;p=thirdparty%2Fiptables.git 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 --- 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, }, };