summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-15 18:01:09 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-15 18:01:09 +0200
commit1e98c58d91673ae56d4eb0943d619ddb77a21a33 (patch)
treefdc78e2ea1121ecbd5c5626414e0ae5016ebb2f0 /src/rpc-server/commands/trex_rpc_cmd_stream.cpp
parent0c28aadfe1490c0ec44c94690f4c6d64f2e76e41 (diff)
add scapy layer for default mac
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, 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 &params, 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);