summaryrefslogtreecommitdiffstats
path: root/src/rpc-server
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-08-20 16:35:39 +0300
committerimarom <imarom@cisco.com>2015-08-20 16:35:39 +0300
commitc3e34b2f9dfd3a9342bc2c773c3e5a92701a2d2c (patch)
treeeaa1ecb1b5371c9671b6e15e26949ecbcae38e04 /src/rpc-server
parenta6be0ea727a21e24e1efb77eaf55893a545de233 (diff)
few python changes
Diffstat (limited to 'src/rpc-server')
-rw-r--r--src/rpc-server/src/commands/trex_rpc_cmd_general.cpp1
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 &params, Json::Value &result) {
/* validate count */
if (params.size() != 0) {
+ generate_err_param_count(result, 0, params.size());
return (TrexRpcCommand::RPC_CMD_PARAM_COUNT_ERR);
}