summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/cp/trex_stateless_port.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stateless/cp/trex_stateless_port.cpp b/src/stateless/cp/trex_stateless_port.cpp
index 907b9cf4..7f2382d3 100644
--- a/src/stateless/cp/trex_stateless_port.cpp
+++ b/src/stateless/cp/trex_stateless_port.cpp
@@ -186,22 +186,22 @@ TrexStatelessPort::get_state_as_string() const {
switch (get_state()) {
case PORT_STATE_DOWN:
- return "down";
+ return "DOWN";
case PORT_STATE_IDLE:
- return "no streams";
+ return "IDLE";
case PORT_STATE_STREAMS:
- return "with streams, idle";
+ return "STREAMS";
case PORT_STATE_TX:
- return "transmitting";
+ return "TX";
case PORT_STATE_PAUSE:
- return "paused";
+ return "PAUSE";
}
- return "unknown";
+ return "UNKNOWN";
}
void