Skip to content

Commit 7551282

Browse files
mxindenRalith
authored andcommitted
fix(udp): use IPV6_PMTUDISC_PROBE instead of IP_PMTUDISC_PROBE on v6
Both resolve to `3`, thus not an actual bug.
1 parent e318cc4 commit 7551282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quinn-udp/src/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl UdpSocketState {
145145
&*io,
146146
libc::IPPROTO_IPV6,
147147
libc::IPV6_MTU_DISCOVER,
148-
libc::IP_PMTUDISC_PROBE,
148+
libc::IPV6_PMTUDISC_PROBE,
149149
)?;
150150
}
151151
}

0 commit comments

Comments
 (0)