Skip to content

Commit

Permalink
Continue work on PR #1148
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceaulinic committed Apr 14, 2020
1 parent b485e65 commit 3cbf1e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm/ios/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -3193,8 +3193,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
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ norecursedirs =
.git
.tox
.env
.venv
dist
build
south_migraitons
Expand Down

0 comments on commit 3cbf1e3

Please sign in to comment.