]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
fix(cygwin): initialize ICMP reply address 599/head
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 21:24:02 +0000 (01:24 +0400)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 21:24:02 +0000 (01:24 +0400)
packet/probe_cygwin.c

index d6d2b7f24ea0b8c9f28702daa5afea78dc1f0b68..d071f4bdf54f5e7958570ca9bb7564c95de39e8f 100644 (file)
@@ -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));