Skip to content

Commit

Permalink
drivers/net/appletalk: endianness
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Al Viro authored and David S. Miller committed Oct 10, 2007
1 parent 2929e77 commit 16989ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/appletalk/ipddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/appletalk/ipddp.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
struct ipddp_route
{
struct net_device *dev; /* Carrier device */
__u32 ip; /* IP address */
__be32 ip; /* IP address */
struct atalk_addr at; /* Gateway appletalk address */
int flags;
struct ipddp_route *next;
Expand Down

0 comments on commit 16989ba

Please sign in to comment.