From bf3eef203ec14f026f0e79f628f76b38f87b83e1 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Wed, 9 Oct 2019 15:10:59 +0200 Subject: [HICN-169] Fixed counters that were decrementing or negative. Change-Id: I9165a863ac29e9386f49fdbc09da85e2fcc57750 Signed-off-by: Alberto Compagno --- hicn-plugin/src/mgmt.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'hicn-plugin/src/mgmt.c') diff --git a/hicn-plugin/src/mgmt.c b/hicn-plugin/src/mgmt.c index b992ba15c..cfeef6cb6 100644 --- a/hicn-plugin/src/mgmt.c +++ b/hicn-plugin/src/mgmt.c @@ -66,10 +66,6 @@ hicn_mgmt_node_stats_get (vl_api_hicn_api_node_stats_get_reply_t * rmp) rmp->pkts_processed += clib_host_to_net_u64 (em->counters[node_cntr_base_idx + HICNFWD_ERROR_PROCESSED]); - n = - vlib_get_node (this_vlib_main, - hicn_data_pcslookup_node.index); - node_cntr_base_idx = n->error_heap_index; rmp->pkts_data_count += clib_host_to_net_u64 (em->counters[node_cntr_base_idx + HICNFWD_ERROR_DATAS]); -- cgit 1.2.3-korg