summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-translate.c
diff options
context:
space:
mode:
authorErik Wilson <erik.e.wilson@gmail.com>2021-07-13 16:48:23 -0700
committerFlorian Westphal <fw@strlen.de>2021-07-14 11:20:24 +0200
commite727ccad036e2cdba3339536c65c7ceef43c0740 (patch)
tree4e2b2fd98d7885160167fbc40c27ae47312074fb /iptables/xtables-translate.c
parent9e1fffdfeb29a0638e10fda3c0e984d3592e3124 (diff)
xtables: Call init_extensions6() for static builds
Initialize extensions from libext6 for cases where xtables is built statically. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1550 Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-translate.c')
-rw-r--r--iptables/xtables-translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xtables-translate.c b/iptables/xtables-translate.c
index 33ba68ec..49f44b6f 100644
--- a/iptables/xtables-translate.c
+++ b/iptables/xtables-translate.c
@@ -482,6 +482,7 @@ static int xtables_xlate_main_common(struct nft_handle *h,
#if defined(ALL_INCLUSIVE) || defined(NO_SHARED_LIBS)
init_extensions();
init_extensions4();
+ init_extensions6();
#endif
tables = xtables_ipv4;
break;