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: