Skip to content
Snippets Groups Projects
Commit ab0812c1 authored by Marton Balint's avatar Marton Balint
Browse files

avformat/udp: always use IP_ADD_SOURCE_MEMBERSHIP for subscribing to an UDP...

avformat/udp: always use IP_ADD_SOURCE_MEMBERSHIP for subscribing to an UDP multicast source group in IPv4

That alone supports specifying the interface based on its address. Getting the
interface index from the local address seems quite a bit of work in a platform
independent way...

Obviously for IPv6 we still always use MCAST_JOIN_SOURCE_GROUP.

As a side effect this also fixes ticket #7459.

Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent d3bda871
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment