aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/custom_dump.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c
index 49fe2a8bd26..a51b6aa2dc6 100644
--- a/src/vpp/api/custom_dump.c
+++ b/src/vpp/api/custom_dump.c
@@ -1806,9 +1806,15 @@ static void *vl_api_cli_inband_t_print
(vl_api_cli_inband_t * mp, void *handle)
{
u8 *s;
+ u8 *cmd = 0;
+ u32 length = ntohl (mp->length);
- s = format (0, "SCRIPT: cli_inband ");
+ vec_validate (cmd, length);
+ clib_memcpy (cmd, mp->cmd, length);
+ s = format (0, "SCRIPT: exec %v ", cmd);
+
+ vec_free (cmd);
FINISH;
}