summaryrefslogtreecommitdiff
path: root/drivers/net/appletalk/ipddp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-23 11:03:13 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:52:05 +0400
commit16989ba6e9c501ffc004ec3c031b1c6065708ccf (patch)
treec9f2642664eb38253990065e2f9343a4dbbaae9b /drivers/net/appletalk/ipddp.c
parent2929e7700fb64f58f9c501a293b98b6bf6c49403 (diff)
downloadlinux-16989ba6e9c501ffc004ec3c031b1c6065708ccf.tar.xz
drivers/net/appletalk: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/appletalk/ipddp.c')
-rw-r--r--drivers/net/appletalk/ipddp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c
index 56cb96794026..1071144edd66 100644
--- a/drivers/net/appletalk/ipddp.c
+++ b/drivers/net/appletalk/ipddp.c
@@ -116,7 +116,7 @@ static struct net_device_stats *ipddp_get_stats(struct net_device *dev)
*/
static int ipddp_xmit(struct sk_buff *skb, struct net_device *dev)
{
- u32 paddr = ((struct rtable*)skb->dst)->rt_gateway;
+ __be32 paddr = ((struct rtable*)skb->dst)->rt_gateway;
struct ddpehdr *ddp;
struct ipddp_route *rt;
struct atalk_addr *our_addr;