vpp-1647: fix typo in pcap_trace_command_internal
pcap rx trace on max 100 intfc tap0
then
pcap rx trace status
Displays "local0" instead of "tap0" due to a typo in
pcap_trace_command_internal(...).
@@ -1838,7 +1838,7 @@ pcap_trace_command_internal (vlib_main_t * vm,
pcap_main.n_packets_to_capture :
PCAP_DEF_PKT_TO_CAPTURE,
format_vnet_sw_if_index_name, vnm,
- vm->pcap_sw_if_index,
+ vm->pcap[rx_tx].pcap_sw_if_index,
vm->pcap[rx_tx].
pcap_main.file_name ? (u8 *) vm->pcap[rx_tx].
pcap_main.file_name : (u8 *) "/tmp/vpe.pcap");
