Michael Tuexen 071966e874 libc sctp: fix sctp_getladdrs() when reporting no addresses
Section 9.5 of RFC 6458 (SCTP Socket API) requires that
sctp_getladdrs() returns 0 in case the socket is unbound. This
is the cause of reporting 0 addresses. So don't indicate an
error, just report this case as required.

PR:		260117
MFC after:	1 week
2021-12-01 16:25:01 +01:00
..
2021-11-10 21:18:54 +02:00
2021-04-09 23:46:24 +03:00
2021-11-29 17:39:54 +02:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2020-12-16 09:02:09 +00:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2021-11-10 21:18:54 +02:00
2021-11-07 16:20:15 +01:00
2021-11-10 21:18:54 +02:00
2021-11-19 03:58:34 -05:00
2021-07-15 22:41:10 -04:00