]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
fixed typo
authorR.E. Wolff <R.E.Wolff@BitWizard.nl>
Mon, 7 May 2018 14:36:23 +0000 (16:36 +0200)
committerR.E. Wolff <R.E.Wolff@BitWizard.nl>
Mon, 7 May 2018 14:36:23 +0000 (16:36 +0200)
packet/probe_unix.c

index de00a0c97e4f3778814032ef27f4ce5eb8e44038..56b670e6773fa615f95381e3bf05f47bb38e44ee 100644 (file)
@@ -570,7 +570,7 @@ void send_probe(
     // there might be an off-by-one in the number of tries here. 
     // this is intentional.  It is no use exhausting the very last
     // open port. Max 10 retries would've been acceptable too I think. 
-    for (trytimes=MIN_PORT; trytimes < MAX_PORT; try_times++) {
+    for (trytimes=MIN_PORT; trytimes < MAX_PORT; trytimes++) {
                        
         packet_size = construct_packet(net_state, &probe->platform.socket,
                          probe->sequence, packet, PACKET_BUFFER_SIZE,