mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
After a successful traceroute, set the distance to the host in question
so it appears in OS fingerprints.
This commit is contained in:
@@ -227,6 +227,11 @@ class TraceGroup {
|
||||
u8 setState(u8 state);
|
||||
u8 setHopDistance(u8 hop_distance, u8 ttl);
|
||||
|
||||
/* Get the number of hops to the target, or -1 if unknown. Use this instead
|
||||
* of reading hopDistance, which despite its name does not contain the final
|
||||
* hop count. */
|
||||
int getDistance();
|
||||
|
||||
bool gotReply;
|
||||
bool noDistProbe;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user