aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/mgmt.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-10-09 15:10:59 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-10-09 15:10:59 +0200
commitbf3eef203ec14f026f0e79f628f76b38f87b83e1 (patch)
treee9d0af11d646a1e3d0d067d3ad8eb6c42fadd46c /hicn-plugin/src/mgmt.c
parentd672e0fa1d4502603a064e390fba21691735a6d3 (diff)
[HICN-169] Fixed counters that were decrementing or negative.
Change-Id: I9165a863ac29e9386f49fdbc09da85e2fcc57750 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/mgmt.c')
-rw-r--r--hicn-plugin/src/mgmt.c4
1 files changed, 0 insertions, 4 deletions
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]);