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>
diff --git a/src/vpp/stats/stats.c b/src/vpp/stats/stats.c
index f827fe9..d075374 100644
--- a/src/vpp/stats/stats.c
+++ b/src/vpp/stats/stats.c
@@ -2451,7 +2451,7 @@
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);