1
0
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:
david
2009-08-20 20:57:35 +00:00
parent 0ffa072a6b
commit 5c1168c024
2 changed files with 26 additions and 1 deletions

View File

@@ -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;