]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
TARPIT: enable IPv6 userspace support
authorJosh Hunt <johunt@akamai.com>
Sun, 8 Jul 2012 18:11:25 +0000 (11:11 -0700)
committerJan Engelhardt <jengelh@inai.de>
Mon, 9 Jul 2012 16:57:41 +0000 (18:57 +0200)
Signed-off-by: Josh Hunt <johunt@akamai.com>
extensions/libxt_TARPIT.c

index 59c190f8cd660dc2ba21e1d2eb4eaf85c2dae398..6b65b09c8061e21fc5a78302f28128468329eaf3 100644 (file)
@@ -106,7 +106,7 @@ static void tarpit_tg_save(const void *ip,
 static struct xtables_target tarpit_tg_reg = {
        .version       = XTABLES_VERSION,
        .name          = "TARPIT",
-       .family        = NFPROTO_IPV4,
+       .family        = NFPROTO_UNSPEC,
        .size          = XT_ALIGN(sizeof(struct xt_tarpit_tginfo)),
        .userspacesize = XT_ALIGN(sizeof(struct xt_tarpit_tginfo)),
        .help          = tarpit_tg_help,