PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
fa0d30ee by Patrick Gaskin at 2021-01-13T03:10:02+00:00
client: Make auto_connect_localhost respect HAVE_IPv6 and OS_IS_WIN32

Part-of: 
<https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/455>

- - - - -


1 changed file:

- src/pulse/context.c


Changes:

=====================================
src/pulse/context.c
=====================================
@@ -1027,7 +1027,10 @@ int pa_context_connect(
 
         /* Add TCP/IP on the localhost */
         if (c->conf->auto_connect_localhost) {
+#if defined(HAVE_IPV6) && !defined(OS_IS_WIN32)
+            /* FIXME: pa_socket_client does not support IPv6 on Windows */
             c->server_list = pa_strlist_prepend(c->server_list, "tcp6:[::1]");
+#endif
             c->server_list = pa_strlist_prepend(c->server_list, 
"tcp4:127.0.0.1");
         }
 



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/fa0d30eee1d86f3895e45a2aec6796cb17d008ef

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/fa0d30eee1d86f3895e45a2aec6796cb17d008ef
You're receiving this email because of your account on gitlab.freedesktop.org.


_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to