summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/mgmt.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-10-09 13:38:03 +0000
committerGerrit Code Review <gerrit@fd.io>2019-10-09 13:38:03 +0000
commit80035e4aeffc64deb1e5f67dda94787ae571a490 (patch)
treeb94f9600a87725714890a2e69ea09efff439f7a9 /hicn-plugin/src/mgmt.c
parent1e0e7377bb2854b49b5e52ec5a39b818640f644b (diff)
parentbf3eef203ec14f026f0e79f628f76b38f87b83e1 (diff)
Merge "[HICN-169] Fixed counters that were decrementing or negative."
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]);