Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign an address family when no interface is specified. #2167

Merged
merged 1 commit into from
May 22, 2020

Conversation

PauKerr
Copy link
Contributor

@PauKerr PauKerr commented May 22, 2020

There is a code path in the janus_streaming plugin/janus_streaming_create_fd() where a multicast mount point (mcast and port) is specified but no interface (iface) is specified that leaves the family set to zero. This causes the bind() call to fail because the incomplete address6 structure is passed when an IPv4 multicast address is the target.

@januscla
Copy link

Thanks for your contribution, @PauKerr! Please make sure you sign our CLA, as it's a required step before we can merge this.

@alexamirante
Copy link
Member

LGTM.

@lminiero
Copy link
Member

Thanks, merging then 👍

@lminiero lminiero merged commit 7a2efae into meetecho:master May 22, 2020
@PauKerr PauKerr deleted the bind-fix branch May 29, 2020 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants