Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: fix pcap [rx|tx|drop] filename stem overflow
[vpp.git]
/
src
/
vnet
/
interface_cli.c
diff --git
a/src/vnet/interface_cli.c
b/src/vnet/interface_cli.c
index
b27d157
..
bee813f
100644
(file)
--- a/
src/vnet/interface_cli.c
+++ b/
src/vnet/interface_cli.c
@@
-2007,7
+2007,7
@@
vnet_pcap_dispatch_trace_configure (vnet_pcap_dispatch_trace_args_t * a)
stem = format (stem, "tx");
if (a->drop_enable)
stem = format (stem, "drop");
- a->filename = format (0, "/tmp/%
s
.pcap%c", stem, 0);
+ a->filename = format (0, "/tmp/%
v
.pcap%c", stem, 0);
vec_free (stem);
}