rtp-send: Use getaddrinfo to improve support for ipv6.

System Internals / PulseAudio - Alistair Leslie-Hughes [hotmail.com] - 21 January 2023 10:10 UTC

inet_pton isn't guarantee to support IPV6 address when a scope has been specified.

Using getaddrinfo instead, we can safely pass through INET6+scope and have it translated to a usable address.

Part-of:

f8b901058 rtp-send: Use getaddrinfo to improve support for ipv6.
src/modules/rtp/module-rtp-send.c | 42 +++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)

Upstream: cgit.freedesktop.org


  • Share