summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-02-10 08:34:03 -0500
committerimarom <imarom@cisco.com>2016-02-10 08:34:03 -0500
commita69c4dd80e88b6fb4ebfae8d84366b11561d7660 (patch)
treecce48058394aad9c28323e0e65cc8be491f669ff /src/rpc-server/commands/trex_rpc_cmd_stream.cpp
parentf8d4d5a845fc049497dd988e911d2678798fa307 (diff)
back to 'count' - as the DOC states
Diffstat (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp')
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
index 8c07bc46..650720be 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
@@ -159,7 +159,7 @@ TrexRpcCmdAddStream::allocate_new_stream(const Json::Value &section, uint8_t por
double pps = parse_double(mode, "pps", result);
double ibg_usec = parse_double(mode, "ibg", result);
- uint32_t num_bursts = parse_int(mode, "number_of_bursts", result);
+ uint32_t num_bursts = parse_int(mode, "count", result);
uint32_t pkts_per_burst = parse_int(mode, "pkts_per_burst", result);
stream = new TrexStream(TrexStream::stMULTI_BURST,port_id, stream_id );