Browse Source

net: use __be16 instead of u16 for the userspace code

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Changli Gao 15 years ago
parent
commit
d8287fc864
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/linux/if_pppox.h

+ 2 - 2
include/linux/if_pppox.h

@@ -50,8 +50,8 @@ struct pppoe_addr {
  * PPTP addressing definition
  * PPTP addressing definition
  */
  */
 struct pptp_addr {
 struct pptp_addr {
-	u16             call_id;
-	struct in_addr  sin_addr;
+	__be16		call_id;
+	struct in_addr	sin_addr;
 };
 };
 
 
 /************************************************************************
 /************************************************************************