Using very basic example of traceroute. Following code used:
hops = traceroute(8.8.8.8)
for hop in hops:
print (hop.address)
only thing printed is the last hop of 8.8.8.8. Running tracert from command line provides entire list of hops. Not sure what the issue could be. Multiping works fine in similar command. Using Python 3.9.
Using very basic example of traceroute. Following code used:
hops = traceroute(8.8.8.8)
for hop in hops:
print (hop.address)
only thing printed is the last hop of 8.8.8.8. Running tracert from command line provides entire list of hops. Not sure what the issue could be. Multiping works fine in similar command. Using Python 3.9.