diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-02 17:47:03 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-03 08:19:34 +0000 |
commit | 509028ab5db6b74bd0ec0b7d6937e7ad0614595d (patch) | |
tree | f9db327a00d56f23d8e608ac3bb8c50ecf37c522 /src/vnet | |
parent | 6575a9a5ac10a2359ffbdb6eb61ec10f62e47de4 (diff) |
session: fix cli for sessions in created state
Change-Id: Ie154afdc20000b905ff71e39823154db4d23eea4
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet')
-rwxr-xr-x | src/vnet/session/session_cli.c | 3 |
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); |