Skip to content

Commit

Permalink
Found a lil bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Apr 9, 2024
1 parent 2721f50 commit 534aa0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.18'
__version__ = '1.0.19'
5 changes: 2 additions & 3 deletions pmeter/pmeter_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ def traceroute(destination, max_hops=30):
if reply:
hop_ip = reply.src
ip_list.append(hop_ip)
# Check if the response is from the target
if hop_ip == target_ip:
break
if hop_ip == target_ip:
break
# Check if the response is from the target
if reply and reply.src == target_ip:
break
Expand Down

0 comments on commit 534aa0c

Please sign in to comment.