From: Darafei Praliaskouski Date: Thu, 7 May 2026 21:24:02 +0000 (+0400) Subject: fix(cygwin): initialize ICMP reply address X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fpull%2F599%2Fhead;p=thirdparty%2Fmtr.git fix(cygwin): initialize ICMP reply address --- diff --git a/packet/probe_cygwin.c b/packet/probe_cygwin.c index d6d2b7f..d071f4b 100644 --- a/packet/probe_cygwin.c +++ b/packet/probe_cygwin.c @@ -273,6 +273,8 @@ void WINAPI on_icmp_reply( ICMP_ECHO_REPLY *reply4; ICMPV6_ECHO_REPLY *reply6; + remote_addr = request->dest_sockaddr; + if (request->ip_version == 6) { reply6 = request->reply6; reply_count = Icmp6ParseReplies(reply6, sizeof(ICMPV6_ECHO_REPLY));