aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/udp
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2023-03-06 20:28:51 -0800
committersteven luong <sluong@cisco.com>2023-03-07 04:34:33 +0000
commit16581f5dcb069fc7094f615e4f25c4d8ca34c357 (patch)
treecc5ef595bb08e303a8e9f445dd337afacdffb3f9 /src/vnet/udp
parent16cc15b23227c4ec866405b1bf205faf3d0f4a56 (diff)
udp: crash in format_udp_connection
format_udp_connection takes 2 arguments from the caller. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: Ie618a809936a01c094982f9a8c81309826e0b087
Diffstat (limited to 'src/vnet/udp')
-rw-r--r--src/vnet/udp/udp_output.c2
1 files changed, 1 insertions, 1 deletions
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;