diff options
author | imarom <imarom@cisco.com> | 2015-08-20 16:35:39 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-08-20 16:35:39 +0300 |
commit | c3e34b2f9dfd3a9342bc2c773c3e5a92701a2d2c (patch) | |
tree | eaa1ecb1b5371c9671b6e15e26949ecbcae38e04 /src/rpc-server | |
parent | a6be0ea727a21e24e1efb77eaf55893a545de233 (diff) |
few python changes
Diffstat (limited to 'src/rpc-server')
-rw-r--r-- | src/rpc-server/src/commands/trex_rpc_cmd_general.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc-server/src/commands/trex_rpc_cmd_general.cpp b/src/rpc-server/src/commands/trex_rpc_cmd_general.cpp index 581f3a02..193ce8db 100644 --- a/src/rpc-server/src/commands/trex_rpc_cmd_general.cpp +++ b/src/rpc-server/src/commands/trex_rpc_cmd_general.cpp @@ -33,6 +33,7 @@ TrexRpcCmdGetStatus::_run(const Json::Value ¶ms, Json::Value &result) { /* validate count */ if (params.size() != 0) { + generate_err_param_count(result, 0, params.size()); return (TrexRpcCommand::RPC_CMD_PARAM_COUNT_ERR); } |