GNOME Bugzilla – Bug 704553
(dyn|multi)udpsink: broken on !IPv6 systems
Last modified: 2013-07-19 14:24:22 UTC
Created attachment 249634 [details] [review] patch to fix issue The g_socket functions only touch the error argument on errors, so clear err back to NULL in case g_socket_new (G_SOCKET_FAMILY_IPV6) failed, as we check for err != NULL later on to know if g_socket_bind() failed, otherwise we errously fail on systems without IPv6 support.
commit 118876702467d6063e9c9745b7d093682ad16472 Author: Peter Korsgaard <jacmet@sunsite.dk> Date: Fri Jul 19 15:24:08 2013 +0200 (dyn|multi)udpsink: unbreak on !IPv6 systems after 130268bc (Bind socket before using it) The g_socket functions only touch the error argument on errors, so clear err back to NULL in case g_socket_new (G_SOCKET_FAMILY_IPV6) failed, as we check for err != NULL later on to know if g_socket_bind() failed, otherwise we errously fail on systems without IPv6 support. https://bugzilla.gnome.org/show_bug.cgi?id=704553