diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-10-19 17:21:26 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-10-19 17:21:26 +0300 |
commit | b9be7cb7e926c29706126d0bccf9e32c99c75070 (patch) | |
tree | 5e2df4ccbfa7ecc4cdbe340cac4920ccbcc5d7f7 | |
parent | 872a205b4c5e4119b6d0d10a7ec774ce22d63256 (diff) |
fix flow_var_name -> name
-rw-r--r-- | src/rpc-server/commands/trex_rpc_cmd_stream.cpp | 2 |
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 812d819e..629e2f76 100644 --- a/src/rpc-server/commands/trex_rpc_cmd_stream.cpp +++ b/src/rpc-server/commands/trex_rpc_cmd_stream.cpp @@ -233,7 +233,7 @@ TrexRpcCmdAddStream::parse_vm_instr_flow_var(const Json::Value &inst, TrexStream void TrexRpcCmdAddStream::parse_vm_instr_write_flow_var(const Json::Value &inst, TrexStream *stream, Json::Value &result) { - std::string flow_var_name = parse_string(inst, "flow_var_name", result); + std::string flow_var_name = parse_string(inst, "name", result); uint16_t pkt_offset = parse_uint16(inst, "pkt_offset", result); int add_value = parse_int(inst, "add_value", result); bool is_big_endian = parse_bool(inst, "is_big_endian", result); |