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

Fix setting sockopt::IpMulticastTtl #2072

Merged
merged 2 commits into from
Dec 9, 2023

Commits on Dec 9, 2023

  1. Fix the value of optlen as passed to libc::setsockopt

    Ever since the sockopt macro was written in
    979faf0 we've been passing the wrong
    size for u8 and usize sockopts.
    asomers authored and sgasse committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    0a0d0f2 View commit details
    Browse the repository at this point in the history
  2. Add tests for sockopt::IpMulticastTtl nix-rust#2073

    On Linux and Android, sockopt::IpMulticastTtl can be set for both IPv4
    and IPv6 sockets, but not on FreeBSD.
    sgasse committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    4f57ac3 View commit details
    Browse the repository at this point in the history