net: use __be16 instead of u16 for the userspace code
authorChangli Gao <xiaosuo@gmail.com>
Mon, 23 Aug 2010 01:37:27 +0000 (18:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2010 01:37:27 +0000 (18:37 -0700)
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_pppox.h

index 1525b21..770e8fa 100644 (file)
@@ -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;
 };
 
 /************************************************************************