1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 00:19:01 +00:00

normalize capitalization for ttl output

This commit is contained in:
dmiller
2014-09-03 04:49:48 +00:00
parent 55da3727b6
commit d0b360b1a2

View File

@@ -1486,7 +1486,7 @@ void write_host_status(Target *currenths) {
if (o.reason)
log_write(LOG_PLAIN, ", %s", target_reason_str(currenths));
if (o.reason && currenths->reason.ttl)
log_write(LOG_PLAIN, " TTL %d", currenths->reason.ttl);
log_write(LOG_PLAIN, " ttl %d", currenths->reason.ttl);
if (currenths->to.srtt != -1)
log_write(LOG_PLAIN, " (%ss latency)",
num_to_string_sigdigits(currenths->to.srtt / 1000000.0, 2));