mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fix a diagnostic format string. It was printing a signed long as if it were
unsigned. I got adjust_timeouts2: packet supposedly had rtt of 18446744073707362535 microseconds. Ignoring time. on a 64-bit machine. (18446744073707362535 is 2 ** 64 - 2189081.)
This commit is contained in:
parent
824ee3c257
commit
4df1143f2b
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ void adjust_timeouts2(const struct timeval *sent,
|
|||
else {
|
||||
if (delta >= 8000000 || delta < 0) {
|
||||
if (o.verbose)
|
||||
error("%s: packet supposedly had rtt of %lu microseconds. Ignoring time.", __func__, delta);
|
||||
error("%s: packet supposedly had rtt of %ld microseconds. Ignoring time.", __func__, delta);
|
||||
return;
|
||||
}
|
||||
delta -= to->srtt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue