diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-06-28 11:40:17 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-06-28 11:40:17 +0300 |
commit | 042f324a9f6a88a96484e0da26f85ab82b999caa (patch) | |
tree | 8f08b5c221438c3c52677e7a8f98f3fb8465abfb | |
parent | 4b5fc9567db2f56b8eecfc0b86d69dbf995e8708 (diff) |
Latency stream crash in case multiplier is the rate of latency stream
-rw-r--r-- | src/stateless/cp/trex_streams_compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |