Change-Id: Ia2be56e198c960788430705b356170f8cc12c450
Signed-off-by: Jack Xu <jack.c.xu@ericsson.com>
}
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;
}
}
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;
}