diff --git a/test/connection-checker/src/net.rs b/test/connection-checker/src/net.rs index 40db99e8b509..9ff95f69bb24 100644 --- a/test/connection-checker/src/net.rs +++ b/test/connection-checker/src/net.rs @@ -63,7 +63,7 @@ pub fn send_udp(opt: &Opt, destination: SocketAddr) -> Result<(), eyre::Error> { pub fn send_ping(opt: &Opt, destination: IpAddr) -> eyre::Result<()> { eprintln!("Leaking IMCP packets to {destination}"); - ping::ping( + ping::dgramsock::ping( destination, Some(Duration::from_millis(opt.leak_timeout)), None,