Skip to content

Commit

Permalink
net: use __be16 instead of u16 for the userspace code
Browse files Browse the repository at this point in the history
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Changli Gao authored and David S. Miller committed Aug 23, 2010
1 parent 773bc97 commit d8287fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/if_pppox.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ struct pppoe_addr {
* PPTP addressing definition
*/
struct pptp_addr {
u16 call_id;
struct in_addr sin_addr;
__be16 call_id;
struct in_addr sin_addr;
};

/************************************************************************
Expand Down

0 comments on commit d8287fc

Please sign in to comment.