Commit d8287fc8 authored by Changli Gao's avatar Changli Gao Committed by David S. Miller

net: use __be16 instead of u16 for the userspace code

Signed-off-by: default avatarChangli Gao <xiaosuo@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 773bc973
...@@ -50,8 +50,8 @@ struct pppoe_addr { ...@@ -50,8 +50,8 @@ struct pppoe_addr {
* PPTP addressing definition * PPTP addressing definition
*/ */
struct pptp_addr { struct pptp_addr {
u16 call_id; __be16 call_id;
struct in_addr sin_addr; struct in_addr sin_addr;
}; };
/************************************************************************ /************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment