Skip to content

Commit

Permalink
fix(udp): use IPV6_PMTUDISC_PROBE instead of IP_PMTUDISC_PROBE on v6
Browse files Browse the repository at this point in the history
Both resolve to `3`, thus not an actual bug.
  • Loading branch information
mxinden authored and Ralith committed Nov 29, 2024
1 parent e318cc4 commit 7551282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quinn-udp/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl UdpSocketState {
&*io,
libc::IPPROTO_IPV6,
libc::IPV6_MTU_DISCOVER,
libc::IP_PMTUDISC_PROBE,
libc::IPV6_PMTUDISC_PROBE,
)?;
}
}
Expand Down

0 comments on commit 7551282

Please sign in to comment.