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

IP6 "MUST NOT" have a TTL.

This will be parsed as an address counter on the receiver,
with disastrous consequences
parent 683f08b8
......@@ -536,7 +536,8 @@ static int Open( vlc_object_t *p_this )
a= source-filter: we need our source address
a= x-plgroup: (missing)
RTP packets need to get the correct src IP address */
if( net_AddressIsMulticast( (vlc_object_t *)p_stream, p_sys->psz_destination ) )
if( (ipv == 4)
&& net_AddressIsMulticast( (vlc_object_t *)p_stream, p_sys->psz_destination ) )
snprintf( psz_ttl, sizeof( psz_ttl ), "/%d", p_sys->i_ttl );
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