aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/commands/command_stats.c
diff options
context:
space:
mode:
authorEnrico Loparco (eloparco) <eloparco@cisco.com>2022-09-23 15:27:34 +0000
committerEnrico Loparco (eloparco) <eloparco@cisco.com>2022-09-23 15:39:43 +0000
commitd2072866a012548f1f9e9bc93d9b8d7a84b654f5 (patch)
tree02f4900849de793ca68259f5cdf126e91ef5484f /ctrl/libhicnctrl/src/commands/command_stats.c
parentadbdfdf7489e1909f29e2dd02edb7d15c258ed19 (diff)
fix(stats): fix forwarder statistics retrieval
Ref: HICN-794 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I13162174f45855989727f92e96c11a1d48d710dd
Diffstat (limited to 'ctrl/libhicnctrl/src/commands/command_stats.c')
-rw-r--r--ctrl/libhicnctrl/src/commands/command_stats.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ctrl/libhicnctrl/src/commands/command_stats.c b/ctrl/libhicnctrl/src/commands/command_stats.c
index 7c58b105e..f02a68069 100644
--- a/ctrl/libhicnctrl/src/commands/command_stats.c
+++ b/ctrl/libhicnctrl/src/commands/command_stats.c
@@ -3,16 +3,16 @@
/* Commands */
-static const command_parser_t command_stats_get = {
- .action = ACTION_GET,
+static const command_parser_t command_stats_list = {
+ .action = ACTION_LIST,
.object_type = OBJECT_TYPE_STATS,
.nparams = 0,
};
-COMMAND_REGISTER(command_stats_get);
+COMMAND_REGISTER(command_stats_list);
-static const command_parser_t command_stats_list = {
+static const command_parser_t command_face_stats_list = {
.action = ACTION_LIST,
- .object_type = OBJECT_TYPE_STATS,
+ .object_type = OBJECT_TYPE_FACE_STATS,
.nparams = 0,
};
-COMMAND_REGISTER(command_stats_list);
+COMMAND_REGISTER(command_face_stats_list);