Skip to content

Commit

Permalink
Set minimum ttl to zero to fix issue napalm-automation#1320
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasGabriel committed Nov 12, 2020
1 parent 0e64d4a commit 190e79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm/ios/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -3284,7 +3284,7 @@ def traceroute(
command += " source {}".format(source)
if ttl:
if isinstance(ttl, int) and 0 <= ttl <= 255:
command += " ttl {}".format(str(ttl))
command += " ttl 0 {}".format(str(ttl))
if timeout:
# Timeout should be an integer between 1 and 3600
if isinstance(timeout, int) and 1 <= timeout <= 3600:
Expand Down

0 comments on commit 190e79c

Please sign in to comment.