aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-04-02 17:47:03 -0700
committerDamjan Marion <dmarion@me.com>2019-04-03 08:19:34 +0000
commit509028ab5db6b74bd0ec0b7d6937e7ad0614595d (patch)
treef9db327a00d56f23d8e608ac3bb8c50ecf37c522
parent6575a9a5ac10a2359ffbdb6eb61ec10f62e47de4 (diff)
session: fix cli for sessions in created state
Change-Id: Ie154afdc20000b905ff71e39823154db4d23eea4 Signed-off-by: Florin Coras <fcoras@cisco.com>
-rwxr-xr-xsrc/vnet/session/session_cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index 5179322049d..a302ddd72bc 100755
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -76,7 +76,8 @@ format_session (u8 * s, va_list * args)
str = format (0, "%-10u%-10u", rxf, txf);
}
- if (ss->session_state >= SESSION_STATE_ACCEPTING)
+ if (ss->session_state >= SESSION_STATE_ACCEPTING
+ || ss->session_state == SESSION_STATE_CREATED)
{
s = format (s, "%U", format_transport_connection, tp,
ss->connection_index, ss->thread_index, verbose);