summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2021-05-05 00:19:00 -0400
committerOle Tr�an <otroan@employees.org>2021-05-05 07:58:47 +0000
commitac0415fac89b186638fbcee1ab9f2cc5cb6d2824 (patch)
treeef4aa241fe64266a41669ee1d5fbab7330646f66 /src
parent06111a837d77323d253ecfd26557775fa0b03ca8 (diff)
api: fix crash in custom dump
Change-Id: Iffc52b4f52c235b0b5d13d2b42467cb2be0bf934 Type: fix Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/custom_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 339e7a3f69d..f56787944bd 100644
--- 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)