aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/quic
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-09-23 12:02:08 -0700
committerFlorin Coras <florin.coras@gmail.com>2020-09-24 01:27:04 +0000
commit7bf6ed662630a26d164affdf8eb77fd2d72c8973 (patch)
treef9b7533a66567e5fc8a2dd8971fc93192b62bf61 /src/plugins/quic
parent1c0573da278bfdd899c78180444035c012f0368d (diff)
session tcp udp tls quic: improve cli formatting
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Iae5dbb8aaaf82d8e95c2ee8bbbe6844c9dd49f80
Diffstat (limited to 'src/plugins/quic')
-rw-r--r--src/plugins/quic/quic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 58d2e6e8a65..daa7813c12a 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -1543,7 +1543,8 @@ format_quic_ctx (u8 * s, va_list * args)
ctx->parent_app_wrk_id);
if (verbose == 1)
- s = format (s, "%-50s%-15d", str, ctx->conn_state);
+ s = format (s, "%-" SESSION_CLI_ID_LEN "s%-" SESSION_CLI_STATE_LEN "d",
+ str, ctx->conn_state);
else
s = format (s, "%s\n", str);
vec_free (str);