Skip to content

Commit

Permalink
Merge pull request #1321 from MatthiasGabriel/bugfix/traceroute_minim…
Browse files Browse the repository at this point in the history
…um_ttl

Set minimum ttl to zero to fix issue #1320
  • Loading branch information
mirceaulinic committed Jan 14, 2021
2 parents 5a8fc76 + 84148d1 commit febc476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm/ios/ios.py
Expand Up @@ -3289,7 +3289,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
File renamed without changes.

0 comments on commit febc476

Please sign in to comment.