diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-04-14 16:26:49 +0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-05-08 12:30:46 +0400 |
commit | 4b1e27e99f354ad90a1cbdda352b84763e70ac78 (patch) | |
tree | bdeeaef5571e33a1ad2feb82996a67e2c618fa5f /net/netfilter | |
parent | 383ca5b874fad082a61af0f47610a1af83e6bb44 (diff) | |
download | linux-4b1e27e99f354ad90a1cbdda352b84763e70ac78.tar.xz |
netfilter: queue: use NFPROTO_ for queue callsites
af is an nfproto.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_queue.c b/net/netfilter/nf_queue.c index 4f2310c93e01..3a6fd77f7761 100644 --- a/net/netfilter/nf_queue.c +++ b/net/netfilter/nf_queue.c @@ -204,10 +204,10 @@ int nf_queue(struct sk_buff *skb, queuenum); switch (pf) { - case AF_INET: + case NFPROTO_IPV4: skb->protocol = htons(ETH_P_IP); break; - case AF_INET6: + case NFPROTO_IPV6: skb->protocol = htons(ETH_P_IPV6); break; } |