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

Don't use connect() when the "bind" address is a multicast group

Bug reported by Alexander Gall
parent 6f41889f
...@@ -411,8 +411,8 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -411,8 +411,8 @@ static int OpenUDP( vlc_object_t * p_this )
} }
} }
} }
else
#endif #endif
if( *psz_server_addr ) if( *psz_server_addr )
{ {
/* Build socket for remote connection */ /* Build socket for remote connection */
......
...@@ -303,7 +303,7 @@ static int OpenUDP( vlc_object_t * p_this ) ...@@ -303,7 +303,7 @@ static int OpenUDP( vlc_object_t * p_this )
} }
} }
} }
else
if( *psz_server_addr ) if( *psz_server_addr )
{ {
int ttl; int ttl;
......
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