summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Majczak <lma@semihalf.com>2018-07-25 16:58:13 +0200
committerDave Barach <openvpp@barachs.net>2018-07-26 14:15:56 +0000
commitc1ebcc4022ee7b12af395191d43aa5d1231de53b (patch)
tree9f0358fb5e0eab9e92c21968ce1783cb8533616e
parent258a189d181ecc99b004fef070c6ac83178a3250 (diff)
VPP-1359 Wrong vl_msg_id
Wrong vl_msg_id set in vl_api_stats_get_poller_delay_t_handler while reporting stats delay. Change-Id: I7d6ad14359e41c717b976390c58e254e3602e0ff Signed-off-by: Lukasz Majczak <lma@semihalf.com>
-rw-r--r--src/vpp/stats/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/stats/stats.c b/src/vpp/stats/stats.c
index 66d9d32a314..1e20dc53aa2 100644
--- a/src/vpp/stats/stats.c
+++ b/src/vpp/stats/stats.c
@@ -2451,7 +2451,7 @@ static void
vl_api_stats_get_poller_delay_reply_t *rmp;
rmp = vl_msg_api_alloc (sizeof (*rmp));
- rmp->_vl_msg_id = ntohs (VL_API_WANT_PER_INTERFACE_SIMPLE_STATS_REPLY);
+ rmp->_vl_msg_id = ntohs (VL_API_STATS_GET_POLLER_DELAY_REPLY);
rmp->context = mp->context;
rmp->retval = 0;
rmp->delay = clib_host_to_net_u32 (sm->stats_poll_interval_in_seconds);