flow-monitor: Use Time::Max instead of numeric_limits::max

This commit is contained in:
Ivey
2024-11-19 12:11:29 -05:00
committed by Gabriel Ferreira
parent b2b3300a3c
commit 9e3803138e

View File

@@ -116,7 +116,7 @@ FlowMonitor::GetStatsForFlow(FlowId flowId)
ref.jitterSum = Seconds(0);
ref.lastDelay = Seconds(0);
ref.maxDelay = Seconds(0);
ref.minDelay = Seconds(std::numeric_limits<double>::max());
ref.minDelay = Time::Max();
ref.txBytes = 0;
ref.rxBytes = 0;
ref.txPackets = 0;