diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-10-20 14:34:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-20 14:34:51 +0400 |
commit | fdc9314cbe027281b5440780692105d49b53cf2c (patch) | |
tree | 2c4107753fd3cc8cd5b31dfb24bfca1e248ec5ce /net/netfilter/xt_NFQUEUE.c | |
parent | 67671841dfb82df7a60c46e6fefe813cf57805ff (diff) | |
download | linux-fdc9314cbe027281b5440780692105d49b53cf2c.tar.xz |
netfilter: replace old NF_ARP calls with NFPROTO_ARP
(Supplements: ee999d8b9573df1b547aacdc6d79f86eb79c25cd)
NFPROTO_ARP actually has a different value from NF_ARP, so ensure all
callers use the new value so that packets _do_ get delivered to the
registered hooks.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_NFQUEUE.c')
-rw-r--r-- | net/netfilter/xt_NFQUEUE.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_NFQUEUE.c b/net/netfilter/xt_NFQUEUE.c index 2cc1fff49307..f9977b3311f7 100644 --- a/net/netfilter/xt_NFQUEUE.c +++ b/net/netfilter/xt_NFQUEUE.c @@ -48,7 +48,7 @@ static struct xt_target nfqueue_tg_reg[] __read_mostly = { }, { .name = "NFQUEUE", - .family = NF_ARP, + .family = NFPROTO_ARP, .target = nfqueue_tg, .targetsize = sizeof(struct xt_NFQ_info), .me = THIS_MODULE, |