Don't use connect() when the "bind" address is a multicast group
[vlc.git] / modules / misc / network / ipv4.c
index 2912b2a..2372865 100644 (file)
@@ -411,8 +411,8 @@ static int OpenUDP( vlc_object_t * p_this )
             }
          }
     }
+    else
 #endif
-
     if( *psz_server_addr )
     {
         /* Build socket for remote connection */