From: Josh Hunt Date: Sun, 8 Jul 2012 18:11:25 +0000 (-0700) Subject: TARPIT: enable IPv6 userspace support X-Git-Tag: v1.44~5^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af940bcbae7ff6334f6d5e3a059c0c124e0a2e77;p=thirdparty%2Fxtables-addons.git TARPIT: enable IPv6 userspace support Signed-off-by: Josh Hunt --- diff --git a/extensions/libxt_TARPIT.c b/extensions/libxt_TARPIT.c index 59c190f..6b65b09 100644 --- a/extensions/libxt_TARPIT.c +++ b/extensions/libxt_TARPIT.c @@ -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,