diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:11:13 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:48 -0500 |
commit | dd86d136f9feb72c52a5b07707affe80edbc8dda (patch) | |
tree | 3ca8c38af8d87d76d2ad3fa239a7d9984f327bec /net/sctp/protocol.c | |
parent | 5ab7b859ab58e3479a5a66e383ecd6bc447f6c1d (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/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index a6bcbf560e36..87d36f440d1d 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -292,7 +292,7 @@ static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) | |||
292 | /* Initialize a sctp_addr from an address parameter. */ | 292 | /* Initialize a sctp_addr from an address parameter. */ |
293 | static void sctp_v4_from_addr_param(union sctp_addr *addr, | 293 | static void sctp_v4_from_addr_param(union sctp_addr *addr, |
294 | union sctp_addr_param *param, | 294 | union sctp_addr_param *param, |
295 | __u16 port, int iif) | 295 | __be16 port, int iif) |
296 | { | 296 | { |
297 | addr->v4.sin_family = AF_INET; | 297 | addr->v4.sin_family = AF_INET; |
298 | addr->v4.sin_port = port; | 298 | addr->v4.sin_port = port; |