aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface_cli.c')
-rw-r--r--src/vnet/interface_cli.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c
index 12310eba52a..c316750968e 100644
--- 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
{
- 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;
}
@@ -1764,7 +1765,8 @@ pcap_trace_command_internal (vlib_main_t * vm,
}
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;
}