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:
ccf65fb
)
fix pcap_trace cli output issue
29/18529/3
author
Jack Xu
<jack.c.xu@ericsson.com>
Tue, 26 Mar 2019 17:46:00 +0000
(13:46 -0400)
committer
Dave Wallace
<dwallacelf@gmail.com>
Fri, 5 Apr 2019 17:16:13 +0000
(17:16 +0000)
Change-Id: Ia2be56e198c960788430705b356170f8cc12c450
Signed-off-by: Jack Xu <jack.c.xu@ericsson.com>
src/vnet/interface_cli.c
patch
|
blob
|
history
diff --git
a/src/vnet/interface_cli.c
b/src/vnet/interface_cli.c
index
12310eb
..
c316750
100644
(file)
--- a/
src/vnet/interface_cli.c
+++ b/
src/vnet/interface_cli.c
@@
-1736,7
+1736,8
@@
pcap_trace_command_internal (vlib_main_t * vm,
}
else
{
}
else
{
- vlib_cli_output (vm, "pcap tx capture already on...");
+ vlib_cli_output (vm, "pcap %s capture already on...",
+ (rx_tx == VLIB_RX) ? "rx" : "tx");
errorFlag = 1;
break;
}
errorFlag = 1;
break;
}
@@
-1764,7
+1765,8
@@
pcap_trace_command_internal (vlib_main_t * vm,
}
else
{
}
else
{
- vlib_cli_output (vm, "pcap tx capture already off...");
+ vlib_cli_output (vm, "pcap %s capture already off...",
+ (rx_tx == VLIB_RX) ? "rx" : "tx");
errorFlag = 1;
break;
}
errorFlag = 1;
break;
}