summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/one_cli.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-04-10 07:54:31 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-04-11 06:30:06 +0000
commit5e189f1a8862f5a8f837dc612c15d63d2b9b6457 (patch)
tree6273347a54f84cb5645124d4a120f116e293fcf6 /src/vnet/lisp-cp/one_cli.c
parent92bcecfdcc8b44877349fe952339a8bb24be6dfc (diff)
LSIP: make LISP statistics collecting thread safe, VPP-692
Change-Id: If884835c0f63de162ecf75fecd2a63a1240ee910 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/one_cli.c')
-rw-r--r--src/vnet/lisp-cp/one_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/lisp-cp/one_cli.c b/src/vnet/lisp-cp/one_cli.c
index b5bc5292fad..40f70e3da9e 100644
--- a/src/vnet/lisp-cp/one_cli.c
+++ b/src/vnet/lisp-cp/one_cli.c
@@ -1678,7 +1678,7 @@ lisp_show_stats_details_command_fn (vlib_main_t * vm,
format_fid_address, &stat->deid,
format_ip_address, &stat->loc_rloc,
format_ip_address, &stat->rmt_rloc,
- stat->stats.pkt_count, stat->stats.bytes);
+ stat->counters.packets, stat->counters.bytes);
}
vec_free (stats);
return 0;