forked from p15670423/monkey
Add note on exception throwing
This commit is contained in:
parent
e82fb7f061
commit
4e5ede0a72
|
@ -182,6 +182,7 @@ def tcp_port_to_service(port):
|
||||||
def traceroute(target_ip, ttl=64):
|
def traceroute(target_ip, ttl=64):
|
||||||
"""
|
"""
|
||||||
Traceroute for a specific IP/name.
|
Traceroute for a specific IP/name.
|
||||||
|
Note, may throw exception on failure that should be handled by caller.
|
||||||
:param target_ip: IP/name of target
|
:param target_ip: IP/name of target
|
||||||
:param ttl: Max TTL
|
:param ttl: Max TTL
|
||||||
:return: Sequence of IPs in the way
|
:return: Sequence of IPs in the way
|
||||||
|
|
Loading…
Reference in New Issue