From 99a578ee82fd6b6303acf289084728b09ef1d0c1 Mon Sep 17 00:00:00 2001 From: Vincent Jardin Date: Thu, 20 Feb 2025 23:25:54 +0000 Subject: [PATCH] KPI: stringify the GTPu stats Add a the description of the GTPu message types for the show worker gtp-router * plane gtpu command. --- src/gtp_router_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtp_router_vty.c b/src/gtp_router_vty.c index f2e0536..db2dd6c 100644 --- a/src/gtp_router_vty.c +++ b/src/gtp_router_vty.c @@ -361,7 +361,7 @@ DEFUN(show_workers_gtp_router, (strcmp(plane, "gtpu") == 0)) { gtp_server_t *srv = &ctx->gtpu; if (__test_bit(GTP_FL_UPF_BIT, &srv->flags)) - vty_server(vty, srv, "gtpu", NULL); + vty_server(vty, srv, "gtpu", gtpu_msg_type2str); else vty_out(vty, " gtpu: none%s" , VTY_NEWLINE);