aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2009-06-05 07:18:07 -0400
committerPatrick McHardy <kaber@trash.net>2009-06-05 07:18:07 -0400
commit61f5abcab152cbee3a041f8b9bcfe7afc83409ca (patch)
treec6971b87bd29ddca49274888541bd5acfb438d0e /net
parenta5e78820966e17c2316866e00047e4e7e5480f04 (diff)
netfilter: xt_NFQUEUE: use NFPROTO_UNSPEC
We can use wildcard matching here, just like ab4f21e6fb1c09b13c4c3cb8357babe8223471bd ("xtables: use NFPROTO_UNSPEC in more extensions"). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/xt_NFQUEUE.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/net/netfilter/xt_NFQUEUE.c b/net/netfilter/xt_NFQUEUE.c
index f9977b3311f7..6e0f84d4d058 100644
--- a/net/netfilter/xt_NFQUEUE.c
+++ b/net/netfilter/xt_NFQUEUE.c
@@ -34,21 +34,7 @@ nfqueue_tg(struct sk_buff *skb, const struct xt_target_param *par)
34static struct xt_target nfqueue_tg_reg[] __read_mostly = { 34static struct xt_target nfqueue_tg_reg[] __read_mostly = {
35 { 35 {
36 .name = "NFQUEUE", 36 .name = "NFQUEUE",
37 .family = NFPROTO_IPV4, 37 .family = NFPROTO_UNSPEC,
38 .target = nfqueue_tg,
39 .targetsize = sizeof(struct xt_NFQ_info),
40 .me = THIS_MODULE,
41 },
42 {
43 .name = "NFQUEUE",
44 .family = NFPROTO_IPV6,
45 .target = nfqueue_tg,
46 .targetsize = sizeof(struct xt_NFQ_info),
47 .me = THIS_MODULE,
48 },
49 {
50 .name = "NFQUEUE",
51 .family = NFPROTO_ARP,
52 .target = nfqueue_tg, 38 .target = nfqueue_tg,
53 .targetsize = sizeof(struct xt_NFQ_info), 39 .targetsize = sizeof(struct xt_NFQ_info),
54 .me = THIS_MODULE, 40 .me = THIS_MODULE,