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

MLDv2 -> MLDv1 fallback

parent 2f3a4ede
...@@ -275,10 +275,12 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -275,10 +275,12 @@ static int OpenUDP( vlc_object_t * p_this )
msg_Err( p_this, "Source specific multicast failed (%s) -" msg_Err( p_this, "Source specific multicast failed (%s) -"
" check if your OS really supports MLDv2", " check if your OS really supports MLDv2",
strerror(errno) ); strerror(errno) );
goto mldv1;
} }
} }
else else
{ {
mldv1:
struct ipv6_mreq imr; struct ipv6_mreq imr;
int res; int res;
...@@ -295,6 +297,8 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -295,6 +297,8 @@ static int OpenUDP( vlc_object_t * p_this )
if( res == -1 ) if( res == -1 )
{ {
msg_Err( p_this, "cannot join multicast group" ); msg_Err( p_this, "cannot join multicast group" );
close( i_handle );
return 0;
} }
} }
} }
......
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