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

Backport [19049]: no TTL for IN IP6

parent e186125b
...@@ -526,7 +526,8 @@ static int Open( vlc_object_t *p_this ) ...@@ -526,7 +526,8 @@ static int Open( vlc_object_t *p_this )
a= source-filter: we need our source address a= source-filter: we need our source address
a= x-plgroup: (missing) a= x-plgroup: (missing)
RTP packets need to get the correct src IP address */ RTP packets need to get the correct src IP address */
if( net_AddressIsMulticast( (vlc_object_t *)p_stream, p_sys->psz_destination ) ) if( (ipv4 == 4)
&& net_AddressIsMulticast( (vlc_object_t *)p_stream, p_sys->psz_destination ) )
{ {
snprintf( psz_ttl, sizeof( psz_ttl ), "/%d", p_sys->i_ttl ); snprintf( psz_ttl, sizeof( psz_ttl ), "/%d", p_sys->i_ttl );
psz_ttl[sizeof( psz_ttl ) - 1] = '\0'; psz_ttl[sizeof( psz_ttl ) - 1] = '\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