@@ -140,7 +140,7 @@ def print_usage():
140140
141141def print_version ():
142142 print (
143- "IP2Location Geolocation Traceroute (ip2trace) Version 2.1.5 \n "
143+ "IP2Location Geolocation Traceroute (ip2trace) Version 2.1.7 \n "
144144"Copyright (c) 2021 IP2Location.com [MIT License]\n "
145145"https://www.ip2location.com/free/traceroute-application\n " )
146146
@@ -215,10 +215,9 @@ def __init__(self, destination_server, database, max_hops, output, all):
215215 sys .exit ()
216216
217217 def print_start (self ):
218- print ("IP2Location Geolocation Traceroute (ip2trace) Version 2.1.6 \n "
218+ print ("IP2Location Geolocation Traceroute (ip2trace) Version 2.1.7 \n "
219219"Copyright (c) 2021 IP2Location.com [MIT License]\n "
220220"https://www.ip2location.com/free/traceroute-application\n \n " )
221- # "Traceroute to {}\({}\)\n\n".format(self.destination_domain_name, self.destination_ip))
222221# "Traceroute to", self.destination_domain_name, "(", self.destination_ip, ")\n\n")
223222# "Traceroute to", self.destination_domain_name[0], "(", self.destination_ip, ")\n\n")
224223 print ("Traceroute to" , self .destination_domain_name [0 ], "(" , self .destination_ip , ")\n \n " , end = "" )
@@ -386,7 +385,9 @@ def tracer(self):
386385 delay = (receive_time - sent_time ) * 1000.0
387386 # print(delay)
388387 delays .append (delay )
389- time .sleep (1 )
388+ # time.sleep(0.1)
389+ # time.sleep(0.01)
390+ time .sleep (0.005 )
390391 # if len(delays) > 0:
391392 if len (delays ) > 0 and ip_header is not None :
392393 self .print_trace (delays , ip_header )
0 commit comments