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 1525b2156b2a1b07604de8b9d2b9dc6090256150..770e8fa669d260e96b9bb4b61877dc06301023df 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;
 };
 
 /************************************************************************