From 02199f335f68ebe63c3518dcf78eb35090007534 Mon Sep 17 00:00:00 2001 From: Marian Durkovic Date: Sat, 11 Nov 2006 10:04:20 +0000 Subject: [PATCH] Cosmetics: Warn the user about lack of IGMPv3 support in his OS --- modules/misc/network/ipv4.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/misc/network/ipv4.c b/modules/misc/network/ipv4.c index cbd5fa0eee..afab81352b 100644 --- a/modules/misc/network/ipv4.c +++ b/modules/misc/network/ipv4.c @@ -276,13 +276,15 @@ static int OpenUDP( vlc_object_t * p_this ) if( psz_if_addr != NULL ) free( psz_if_addr ); + msg_Dbg( p_this, "IP_ADD_SOURCE_MEMBERSHIP multicast request" ); + /* Join Multicast group with source filter */ if( setsockopt( i_handle, IPPROTO_IP, IP_ADD_SOURCE_MEMBERSHIP, (char*)&imr, sizeof(struct ip_mreq_source) ) == -1 ) { msg_Warn( p_this, "Source specific multicast failed (%s) -" - "falling back to non-specific mode", + "check if your OS really supports IGMPv3", strerror(errno) ); goto igmpv2; } -- 2.39.5