[zaptel-commits] tzafrir: branch 1.2 r3445 - /branches/1.2/ztd-eth.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Dec 12 01:59:55 CST 2007


Author: tzafrir
Date: Wed Dec 12 01:59:55 2007
New Revision: 3445

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3445
Log:
ztd-eth: Fix a cast warning on earlier 2.6 kernels.

Modified:
    branches/1.2/ztd-eth.c

Modified: branches/1.2/ztd-eth.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/ztd-eth.c?view=diff&rev=3445&r1=3444&r2=3445
==============================================================================
--- branches/1.2/ztd-eth.c (original)
+++ branches/1.2/ztd-eth.c Wed Dec 12 01:59:55 2007
@@ -84,7 +84,7 @@
 	return span;
 }
 
-#if defined(LINUX26)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
 static int ztdeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev)
 #else
 static int ztdeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt)




More information about the zaptel-commits mailing list