ipvs: ip_vs_wrr.c: use lib/gcd.c
[safe/jmp/linux-2.6] / net / netfilter / nf_queue.c
index 4f2310c..3a6fd77 100644 (file)
@@ -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;
        }