diff options
Diffstat (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp')
-rw-r--r-- | src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp index 650720be..87e205b0 100644 --- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp +++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp @@ -56,6 +56,8 @@ TrexRpcCmdAddStream::_run(const Json::Value ¶ms, Json::Value &result) { /* some fields */ stream->m_enabled = parse_bool(section, "enabled", result); stream->m_self_start = parse_bool(section, "self_start", result); + stream->m_flags = parse_int(section, "flags", result); + stream->m_action_count = (uint16_t)parse_int(section, "action_count", result); /* inter stream gap */ stream->m_isg_usec = parse_double(section, "isg", result); |