aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 20:11:13 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:26:48 -0500
commitdd86d136f9feb72c52a5b07707affe80edbc8dda (patch)
tree3ca8c38af8d87d76d2ad3fa239a7d9984f327bec /net/sctp/ipv6.c
parent5ab7b859ab58e3479a5a66e383ecd6bc447f6c1d (diff)
[SCTP]: Switch ->from_addr_param() to net-endian.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r--net/sctp/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index d6b585b85cbb..566cdc9977c4 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -408,7 +408,7 @@ static void sctp_v6_to_sk_daddr(union sctp_addr *addr, struct sock *sk)
408/* Initialize a sctp_addr from an address parameter. */ 408/* Initialize a sctp_addr from an address parameter. */
409static void sctp_v6_from_addr_param(union sctp_addr *addr, 409static void sctp_v6_from_addr_param(union sctp_addr *addr,
410 union sctp_addr_param *param, 410 union sctp_addr_param *param,
411 __u16 port, int iif) 411 __be16 port, int iif)
412{ 412{
413 addr->v6.sin6_family = AF_INET6; 413 addr->v6.sin6_family = AF_INET6;
414 addr->v6.sin6_port = port; 414 addr->v6.sin6_port = port;