diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-04-14 14:26:49 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-05-08 10:30:46 +0200 |
commit | 4b1e27e99f354ad90a1cbdda352b84763e70ac78 (patch) | |
tree | bdeeaef5571e33a1ad2feb82996a67e2c618fa5f /net/netfilter | |
parent | 383ca5b874fad082a61af0f47610a1af83e6bb44 (diff) | |
download | op-kernel-dev-4b1e27e99f354ad90a1cbdda352b84763e70ac78.zip op-kernel-dev-4b1e27e99f354ad90a1cbdda352b84763e70ac78.tar.gz |
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 4f2310c..3a6fd77 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; } |