]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: TCPMSS: Use xlate callback for IPv6, too
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Nov 2022 15:06:46 +0000 (16:06 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 24 Nov 2022 09:24:06 +0000 (10:24 +0100)
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>
extensions/libxt_TCPMSS.c

index 0d9b200ebc72f4a5232c23cb1d5f4835de8ef515..251a5532a838b510e076c17e0dbeadaa226f00b5 100644 (file)
@@ -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,
        },
 };