From 1571b6796658380aaedfb4a3bc64237d24fe6cc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 1 Mar 2006 11:20:10 +0000 Subject: [PATCH] Don't use connect() when the "bind" address is a multicast group Bug reported by Alexander Gall --- modules/misc/network/ipv4.c | 2 +- modules/misc/network/ipv6.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/misc/network/ipv4.c b/modules/misc/network/ipv4.c index 2912b2a3d1..23728658b4 100644 --- a/modules/misc/network/ipv4.c +++ b/modules/misc/network/ipv4.c @@ -411,8 +411,8 @@ static int OpenUDP( vlc_object_t * p_this ) } } } + else #endif - if( *psz_server_addr ) { /* Build socket for remote connection */ diff --git a/modules/misc/network/ipv6.c b/modules/misc/network/ipv6.c index 2f88d23973..d88607a939 100644 --- a/modules/misc/network/ipv6.c +++ b/modules/misc/network/ipv6.c @@ -303,7 +303,7 @@ static int OpenUDP( vlc_object_t * p_this ) } } } - + else if( *psz_server_addr ) { int ttl; -- 2.20.1