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:
06111a8
)
api: fix crash in custom dump
10/32210/2
author
Paul Vinciguerra
<pvinci@vinciconsulting.com>
Wed, 5 May 2021 04:19:00 +0000
(
00:19
-0400)
committer
Ole Tr�an
<otroan@employees.org>
Wed, 5 May 2021 07:58:47 +0000
(07:58 +0000)
Change-Id: Iffc52b4f52c235b0b5d13d2b42467cb2be0bf934
Type: fix
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vpp/api/custom_dump.c
patch
|
blob
|
history
diff --git
a/src/vpp/api/custom_dump.c
b/src/vpp/api/custom_dump.c
index
339e7a3
..
f567879
100644
(file)
--- a/
src/vpp/api/custom_dump.c
+++ b/
src/vpp/api/custom_dump.c
@@
-2390,7
+2390,7
@@
static void *vl_api_pg_capture_t_print
s = format (0, "SCRIPT: pg_capture ");
s = format (s, "if_id %d ", (mp->interface_id));
- s = format (s, "pcap %
s",
mp->pcap_file_name);
+ s = format (s, "pcap %
U", vl_api_format_string, &
mp->pcap_file_name);
if (mp->count != ~0)
s = format (s, "count %d ", (mp->count));
if (!mp->is_enabled)