summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-07-12 17:11:04 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-07-12 17:55:31 +0000
commit95dd1fe279111f9accdeeecc0accff016f7e15fc (patch)
tree3b1e0442a15e78cd4b4a48388dcd769e9748d4d4 /src/vnet/session
parentbec771b879c2eae31ecef61891405c1570aae2b1 (diff)
quic: fix show session verbose
Proprely display quic connections in show session verbose, and add a small fix for UDPC listeners and UDP sessions formatting. Change-Id: I33f83e77bf357347623d87ad23c483aba60a9bb2 Signed-off-by: Aloys Augustin <aloaugus@cisco.com> Type: feature
Diffstat (limited to 'src/vnet/session')
-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 d839532eea3..ca4b8c12f8d 100755
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -68,7 +68,8 @@ format_session (u8 * s, va_list * args)
if (verbose == 1)
{
u8 post_accept = ss->session_state >= SESSION_STATE_ACCEPTING;
- u8 hasf = post_accept | session_tx_is_dgram (ss);
+ u8 hasf = post_accept
+ || session_transport_service_type (ss) == TRANSPORT_SERVICE_CL;
u32 rxf, txf;
rxf = hasf ? svm_fifo_max_dequeue (ss->rx_fifo) : 0;