summaryrefslogtreecommitdiffstats
path: root/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-02-23 09:41:26 -0500
committerimarom <imarom@cisco.com>2016-02-23 10:06:53 -0500
commit0e70a929c610f07cda2271313cb5f4c1bac4f148 (patch)
tree6bd57506b3815f2ce12c0006554a5f2bc7c012a3 /src/rpc-server/commands/trex_rpc_cmd_stream.cpp
parent66bebea92f15db3ccf055814ab48cda24477fa9d (diff)
sync streams and some other bugs
Diffstat (limited to 'src/rpc-server/commands/trex_rpc_cmd_stream.cpp')
-rw-r--r--src/rpc-server/commands/trex_rpc_cmd_stream.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
index 50295c7c..d08c79b5 100644
--- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
+++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp
@@ -588,8 +588,6 @@ TrexRpcCmdGetAllStreams::_run(const Json::Value &params, Json::Value &result) {
uint8_t port_id = parse_port(params, result);
TrexStatelessPort *port = get_stateless_obj()->get_port_by_id(port_id);
- bool get_pkt = parse_bool(params, "get_pkt", result);
-
std::vector <TrexStream *> streams;
port->get_object_list(streams);
@@ -598,11 +596,6 @@ TrexRpcCmdGetAllStreams::_run(const Json::Value &params, Json::Value &result) {
Json::Value j = stream->get_stream_json();
- /* should we include the packet as well ? */
- if (!get_pkt) {
- j.removeMember("packet");
- }
-
std::stringstream ss;
ss << stream->m_stream_id;