Skip to content

Commit

Permalink
Merge 6dbd076 into bd0908b
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceaulinic committed Apr 16, 2020
2 parents bd0908b + 6dbd076 commit 2f53739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm/ios/ios.py
Expand Up @@ -3192,8 +3192,8 @@ def traceroute(
if source:
command += " source {}".format(source)
if ttl:
if isinstance(ttl, int) and 0 <= timeout <= 255:
command += " ttl 0 {}".format(str(ttl))
if isinstance(ttl, int) and 0 <= ttl <= 255:
command += " ttl {}".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 2f53739

Please sign in to comment.