From 16581f5dcb069fc7094f615e4f25c4d8ca34c357 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Mon, 6 Mar 2023 20:28:51 -0800 Subject: udp: crash in format_udp_connection format_udp_connection takes 2 arguments from the caller. Type: fix Signed-off-by: Steven Luong Change-Id: Ie618a809936a01c094982f9a8c81309826e0b087 --- src/vnet/udp/udp_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/udp') diff --git a/src/vnet/udp/udp_output.c b/src/vnet/udp/udp_output.c index bcebf5a790b..2d995136e19 100644 --- a/src/vnet/udp/udp_output.c +++ b/src/vnet/udp/udp_output.c @@ -45,7 +45,7 @@ format_udp_tx_trace (u8 *s, va_list *args) udp_connection_t *uc = &t->udp_connection; u32 indent = format_get_indent (s); - s = format (s, "%U\n%U%U", format_udp_connection, uc, format_white_space, + s = format (s, "%U\n%U%U", format_udp_connection, uc, 1, format_white_space, indent, format_udp_header, &t->udp_header, 128); return s; -- cgit 1.2.3-korg