aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChangli Gao2010-08-22 18:37:27 -0700
committerDavid S. Miller2010-08-22 18:37:27 -0700
commitd8287fc864643beaf1623c92aceb1ab38eae0648 (patch)
treef24ab1748d6b96fe612e9d2744680d1f128ce38e /include/linux
parent773bc97397ea2cfc2ff3c075f712aaf376ed7cb0 (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/if_pppox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 1525b2156b2a..770e8fa669d2 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -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;
};
/************************************************************************