Commit 3e5c6507 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Re-allow IGMPv3/MLDv2 for ASM addresses.

Retain connect() as fallback in any case.
parent cbe0a57a
......@@ -265,7 +265,7 @@ static int OpenUDP( vlc_object_t * p_this )
so that IGMPv3 aware OSes running on IGMPv3 aware networks
will do an IGMPv3 query on the network */
if (( *psz_server_addr )
&& ((ntohl (sock.sin_addr.s_addr) >> 24) == 232))
/*&& ((ntohl (sock.sin_addr.s_addr) >> 24) == 232)*/)
{
struct ip_mreq_source imr;
......
......@@ -240,7 +240,7 @@ static int OpenUDP( vlc_object_t * p_this )
if( IN6_IS_ADDR_MULTICAST(&sock.sin6_addr) )
{
if ((*psz_server_addr)
&& ((U32_AT (&sock.sin6_addr) & 0xff30ffff) == 0xff300000))
/*&& ((U32_AT (&sock.sin6_addr) & 0xff30ffff) == 0xff300000)*/)
{
#ifndef MCAST_JOIN_SOURCE_GROUP
errno = ENOSYS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment