From 1e98c58d91673ae56d4eb0943d619ddb77a21a33 Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Mon, 15 Feb 2016 18:01:09 +0200 Subject: add scapy layer for default mac --- src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp') 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); -- cgit 1.2.3-korg