From f25312130b74067486e5ed87515dc5aeda296ccc Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 17 Jun 2026 19:31:35 +0000 Subject: [PATCH] Make a more reasonable assertion. Fixes #1546 --- traceroute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traceroute.cc b/traceroute.cc index df801dc73..4e5f6f45a 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -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();