Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
16cc15b
)
udp: crash in format_udp_connection
97/38397/2
author
Steven Luong
<
[email protected]
>
Tue, 7 Mar 2023 04:28:51 +0000
(20:28 -0800)
committer
steven luong
<
[email protected]
>
Tue, 7 Mar 2023 04:34:33 +0000
(
04:34
+0000)
format_udp_connection takes 2 arguments from the caller.
Type: fix
Signed-off-by: Steven Luong <
[email protected]
>
Change-Id: Ie618a809936a01c094982f9a8c81309826e0b087
src/vnet/udp/udp_output.c
patch
|
blob
|
history
diff --git
a/src/vnet/udp/udp_output.c
b/src/vnet/udp/udp_output.c
index
bcebf5a
..
2d99513
100644
(file)
--- 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;