commit | d3f7a54a295f2ffc9033b425c6538a7e9d7fbe8a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Nov 20 17:12:41 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Dec 02 21:26:52 2006 -0800 |
tree | a6f32788e62edc9e29194684334e41db50119f1c | |
parent | 6a1e5f335461567f593e88b218f1c06817cbd323 [diff] [blame] |
[SCTP]: ->get_saddr() switched to net-endian. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 87d36f4..5b8b7f3 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c
@@ -539,7 +539,7 @@ if (rt) { saddr->v4.sin_family = AF_INET; - saddr->v4.sin_port = asoc->base.bind_addr.port; + saddr->v4.sin_port = htons(asoc->base.bind_addr.port); saddr->v4.sin_addr.s_addr = rt->rt_src; } }