GPT bug fix

This commit is contained in:
DaZuo0122
2026-01-16 21:40:56 +08:00
parent 04088ceedc
commit d3ce6b0a93
2 changed files with 17 additions and 1 deletions

View File

@@ -474,7 +474,7 @@ fn udp_trace_hop_v6(
let socket =
std::net::UdpSocket::bind("[::]:0").map_err(|err| ProbeError::Io(err.to_string()))?;
socket
.set_multicast_loop_v6(u32::from(ttl))
.set_unicast_hops_v6(u32::from(ttl))
.map_err(|err| ProbeError::Io(err.to_string()))?;
let _ = socket.send_to(&[0u8; 4], addr);