From 82f2de8f56d23df0f517f0b4c22e091bf39ab25f Mon Sep 17 00:00:00 2001 From: remingu <52041034+remingu@users.noreply.github.com> Date: Thu, 12 Mar 2020 22:55:15 +0100 Subject: [PATCH] fixed typo in traceroute() --- napalm/ios/ios.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/napalm/ios/ios.py b/napalm/ios/ios.py index 13c3d0502..e551203b5 100644 --- a/napalm/ios/ios.py +++ b/napalm/ios/ios.py @@ -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: