hop_limit Property
The maximum number of hops to allow for a trace.
Syntax
def get_hop_limit() -> int: ... def set_hop_limit(value: int) -> None: ...
hop_limit = property(get_hop_limit, set_hop_limit)
Default Value
64
Remarks
This property is used to limit lengthy traces. A value of 0 indicates an unbounded trace.
Note: if the value of timeout is 0, an unbounded trace may cause a call to trace_to to block indefinitely. To cancel such a route trace, call interrupt.