summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-09-16 17:12:30 +0300
committerimarom <imarom@cisco.com>2015-09-16 17:12:30 +0300
commit3b372bbe45931b853f3f906352a0cbdc89952c41 (patch)
tree994c08f5b916029d7d700e502b0d37e63b3c1397 /src/stateless
parentdd99c3890d3bb7b4aab833927e85648cd6e86c85 (diff)
enabled all warnings for the mock RPC server target
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/trex_stateless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stateless/trex_stateless.cpp b/src/stateless/trex_stateless.cpp
index b51c4e69..537dfa4a 100644
--- a/src/stateless/trex_stateless.cpp
+++ b/src/stateless/trex_stateless.cpp
@@ -107,7 +107,7 @@ void
TrexStatelessPort::stop_traffic(void) {
/* real code goes here */
- if (m_port_state = PORT_STATE_TRANSMITTING) {
+ if (m_port_state == PORT_STATE_TRANSMITTING) {
m_port_state = PORT_STATE_UP_IDLE;
}
}