Fix bug in configure 'pcap drop trace on file xx.cap' command (VPP-691)
Change-Id: Id9cc1fbe18099fae483a823dc7c2b16d6bc46a8c Signed-off-by: jerryian <gu.jian1@zte.com.cn>
This commit is contained in:
@@ -1392,8 +1392,8 @@ pcap_drop_trace_command_fn (vlib_main_t * vm,
|
|||||||
|
|
||||||
if (im->pcap_filename)
|
if (im->pcap_filename)
|
||||||
vec_free (im->pcap_filename);
|
vec_free (im->pcap_filename);
|
||||||
vec_add1 (filename, 0);
|
|
||||||
im->pcap_filename = chroot_filename;
|
im->pcap_filename = chroot_filename;
|
||||||
|
im->pcap_main.file_name = (char *) im->pcap_filename;
|
||||||
matched = 1;
|
matched = 1;
|
||||||
}
|
}
|
||||||
else if (unformat (input, "status"))
|
else if (unformat (input, "status"))
|
||||||
|
Reference in New Issue
Block a user