diff options
author | Dave Barach <dave@barachs.net> | 2019-04-16 08:07:06 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2019-04-16 08:08:07 -0400 |
commit | cac8f9b7fd9697b1324c6ea5689e056692ec89eb (patch) | |
tree | bd398fdb65a68ee9e629ea0771e9b0b7525926ae /src/vnet | |
parent | c560789ca85b2325072ef1a209d4b1012dfe07bd (diff) |
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(...).
Change-Id: Id2de6a24174aac24d9051b7404f01edc806a6573
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/interface_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c index c316750968e..d9b854eb26b 100644 --- a/src/vnet/interface_cli.c +++ b/src/vnet/interface_cli.c @@ -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"); |