pulseaudio/src
Hajime Fujita 017ed3e7fa Support IPv6 address in pa_socket_client_new_string()
pa_socket_client_new_string() did not work as expected when an IPv6
address string like "2001:db8::1" is passed as the "name" parameter.
This is because the name parameter is then passed to pa_parse_address(),
which thinks the last colon as a separator between hostname (or address)
and a port number. To prevent pa_parse_address() from doing this, an IPv6
address must be bracketed with "[]" (e.g. "[2001:db8::1]"). [1]

This patch fixes pa_socket_client_new_string() so that it internally
adds brackets to an IPv6 address. This decision is based on a
discussion at [2].

[1]: http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-October/022010.html
[2]: http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-November/022401.html

Reviewed-by: Anton Lundin <glance@acc.umu.se>
2017-01-19 02:56:53 +02:00
..
daemon launch: Remove the already implicit After=pulseaudio.socket 2016-09-10 17:14:30 +03:00
modules zeroconf-publish: fix unitialized DBusError 2017-01-12 14:10:13 +02:00
pulse stream: Frame-align divided audio segments 2016-11-24 20:40:07 +02:00
pulsecore Support IPv6 address in pa_socket_client_new_string() 2017-01-19 02:56:53 +02:00
tests memblockq-test: fix incorrect assumption of pa_memblockq_pop_missing() behaviour 2017-01-03 04:26:30 +02:00
utils pacat: Write to stream only in frame-sized chunks 2016-12-20 19:59:08 +02:00
.gitignore pulse: Add a JSON-parsing library 2016-06-22 21:04:47 +05:30
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am build-sys: add LICENSE.WEBKIT to EXTRA_DIST 2016-12-20 16:44:42 +02:00
map-file volume: Add LFE balance API 2015-10-30 09:13:10 +02:00