summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-10-31 12:25:38 -0700
committerDave Barach <openvpp@barachs.net>2018-10-31 21:31:11 +0000
commit0d883a4ac71c9253ea8885d241c8942ccf7129af (patch)
tree52189480fecc64d7ac3e96de85cefc0e36be7680
parent840cd12ee4687dd1de4715e6f4196a79a56c4221 (diff)
session: fix sh session cli
Change-Id: Idbc7b61393c6d0e3b8ea950397a89d21b1cf3a42 Signed-off-by: Florin Coras <fcoras@cisco.com>
-rwxr-xr-xsrc/vnet/session/session_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index d6350c62779..651abe17597 100755
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -260,7 +260,7 @@ show_session_command_fn (vlib_main_t * vm, unformat_input_t * input,
for (i = 0; i < vec_len (smm->wrk); i++)
{
u32 once_per_pool;
- pool = smm->wrk[0].sessions;
+ pool = smm->wrk[i].sessions;
once_per_pool = 1;