mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Print a "TRACEROUTE" header for directly connected hosts, even though it
lacks a probe specification like "(using proto 1/icmp)".
This commit is contained in:
parent
2684b78ce5
commit
d375aa25e9
1 changed files with 3 additions and 0 deletions
|
|
@ -2037,6 +2037,9 @@ static void printtraceroute_normal(Target * currenths) {
|
|||
struct protoent *proto = nmap_getprotbynum(htons(probe.proto));
|
||||
log_write(LOG_PLAIN, "TRACEROUTE (using proto %d/%s)\n",
|
||||
probe.proto, proto ? proto->p_name : "unknown");
|
||||
} else {
|
||||
/* "Traces" of directly connected targets don't send any packets. */
|
||||
log_write(LOG_PLAIN, "TRACEROUTE\n");
|
||||
}
|
||||
|
||||
row = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue