commit | 4b1e27e99f354ad90a1cbdda352b84763e70ac78 | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@medozas.de> | Tue Apr 14 14:26:49 2009 +0200 |
committer | Jan Engelhardt <jengelh@medozas.de> | Fri May 08 10:30:46 2009 +0200 |
tree | bdeeaef5571e33a1ad2feb82996a67e2c618fa5f | |
parent | 383ca5b874fad082a61af0f47610a1af83e6bb44 [diff] [blame] |
netfilter: queue: use NFPROTO_ for queue callsites af is an nfproto. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
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 @@ 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; }