summaryrefslogtreecommitdiff
path: root/include/linux/if_pppol2tp.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-25 10:04:18 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-08-27 05:35:42 +0400
commitf424bb9efaee90b752aabcb4e5e95920ee9580bb (patch)
tree3d33a47bc33d8456f26f2cfca89b28edc59726c8 /include/linux/if_pppol2tp.h
parente4223976341ffb22fabe5b3a69873966808c83aa (diff)
downloadlinux-f424bb9efaee90b752aabcb4e5e95920ee9580bb.tar.xz
[PPPOL2TP]: Fix endianness annotations.
{s,d}_{session,tunnel} in pppol2tp_addr are actually host-endian everywhere. We might switch them to net-endian, of course, but that structure is exposed to userland via getname... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_pppol2tp.h')
-rw-r--r--include/linux/if_pppol2tp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/if_pppol2tp.h b/include/linux/if_pppol2tp.h
index 516203b6fdeb..a7d6a2234b31 100644
--- a/include/linux/if_pppol2tp.h
+++ b/include/linux/if_pppol2tp.h
@@ -32,8 +32,8 @@ struct pppol2tp_addr
struct sockaddr_in addr; /* IP address and port to send to */
- __be16 s_tunnel, s_session; /* For matching incoming packets */
- __be16 d_tunnel, d_session; /* For sending outgoing packets */
+ __u16 s_tunnel, s_session; /* For matching incoming packets */
+ __u16 d_tunnel, d_session; /* For sending outgoing packets */
};
/* Socket options: