From patchwork Sun Jul 8 18:11:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Hunt X-Patchwork-Id: 169655 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 974682C021D for ; Mon, 9 Jul 2012 04:12:03 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751440Ab2GHSL2 (ORCPT ); Sun, 8 Jul 2012 14:11:28 -0400 Received: from prod-mail-xrelay06.akamai.com ([96.6.114.98]:41151 "EHLO prod-mail-xrelay06.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541Ab2GHSL0 (ORCPT ); Sun, 8 Jul 2012 14:11:26 -0400 Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id F3706165563; Sun, 8 Jul 2012 18:11:25 +0000 (GMT) Received: from prod-mail-relay03.akamai.com (prod-mail-relay03.akamai.com [172.27.8.26]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id E851416555C; Sun, 8 Jul 2012 18:11:25 +0000 (GMT) Received: from kernelsuite-780 (kernelsuite-780.sanmateo.corp.akamai.com [172.22.148.173]) by prod-mail-relay03.akamai.com (Postfix) with ESMTP id C8EEA2FD65; Sun, 8 Jul 2012 18:11:25 +0000 (GMT) Received: from johunt by kernelsuite-780 with local (Exim 4.71) (envelope-from ) id 1Snvx7-0001W7-Kx; Sun, 08 Jul 2012 11:11:25 -0700 From: Josh Hunt To: jengelh@inai.de, netfilter-devel@vger.kernel.org Cc: Josh Hunt Subject: [PATCH v2 6/6] netfilter: tarpit: Enable IPv6 userspace support Date: Sun, 8 Jul 2012 11:11:25 -0700 Message-Id: <1341771085-5771-7-git-send-email-johunt@akamai.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1341771085-5771-1-git-send-email-johunt@akamai.com> References: <1341771085-5771-1-git-send-email-johunt@akamai.com> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Enables userspace IPv6 tarpit support. Signed-off-by: Josh Hunt --- extensions/libxt_TARPIT.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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,