From 042f324a9f6a88a96484e0da26f85ab82b999caa Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Tue, 28 Jun 2016 11:40:17 +0300 Subject: Latency stream crash in case multiplier is the rate of latency stream --- src/stateless/cp/trex_streams_compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stateless/cp/trex_streams_compiler.h') diff --git a/src/stateless/cp/trex_streams_compiler.h b/src/stateless/cp/trex_streams_compiler.h index 7e674364..171e3aff 100644 --- a/src/stateless/cp/trex_streams_compiler.h +++ b/src/stateless/cp/trex_streams_compiler.h @@ -244,7 +244,7 @@ public: } double get_factor_pps(double req_pps) const { - if ( (req_pps - m_fixed.m_pps) < 0 ) { + if ( (req_pps - m_fixed.m_pps) <= 0 ) { std::stringstream ss; ss << "current stream configuration enforces a minimum rate of '" << m_fixed.m_pps << "' pps"; throw TrexException(ss.str()); -- cgit 1.2.3-korg