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:
a1a2246
)
misc: fix pcap [rx|tx|drop] filename stem overflow
63/27963/2
author
Benoît Ganne
<bganne@cisco.com>
Fri, 17 Jul 2020 09:49:56 +0000
(11:49 +0200)
committer
Dave Barach
<openvpp@barachs.net>
Wed, 2 Sep 2020 13:02:02 +0000
(13:02 +0000)
Type: fix
Change-Id: I2b6b7b6f28cbf7accf883743e390b0031dd13bbb
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/interface_cli.c
patch
|
blob
|
history
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);
}