[SCTP]: Set ports in every address returned by sctp_getladdrs()
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 28 Jan 2008 19:25:36 +0000 (14:25 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 7 Feb 2008 02:27:39 +0000 (21:27 -0500)
commitb46ae36de451212d253f31112338517753739191
treeeccdb446b5d29a09ad9e8bb28ada1c99361b93ce
parentc068be5491924c1c1c37dc046f36976c27bc7bb2
[SCTP]: Set ports in every address returned by sctp_getladdrs()

Thomas Dreibholz has reported that port numbers are not filled
in the results of sctp_getladdrs() when the socket was bound
to an ephemeral port.  This is only true, if the address was
not specified either.  So, fill in the port number correctly.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/socket.c