mirror of
https://github.com/nmap/nmap.git
synced 2026-06-29 04:33:23 +00:00
Make a more reasonable assertion. Fixes #1546
This commit is contained in:
parent
364c172f7d
commit
f25312130b
1 changed files with 1 additions and 1 deletions
|
|
@ -1224,7 +1224,7 @@ void TracerouteState::read_replies(long timeout) {
|
|||
struct timeval now;
|
||||
Reply reply;
|
||||
|
||||
assert(timeout / 1000 <= (long) o.scan_delay);
|
||||
assert(o.scan_delay == 0 || (timeout / 1000 <= (long) o.scan_delay));
|
||||
timeout = MAX(timeout, 10000);
|
||||
now = get_now();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue