apps/dumpcap: fix interface parameter option
PATCH 1/1 apps/dumpcap: fix interface parameter option
The dumpcap application supports an interface parameter via the -i [1] option however the current documentation utilizes a -I flag.
[1] https://git.dpdk.org/dpdk/tree/app/dumpcap/main.c#n314
Fixes cbb44143be74 ("app/dumpcap: add new packet capture application")
Signed-off-by Ben Magistro <[email protected]>
--- doc/guides/tools/dumpcap.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
doc/guides/tools/dumpcap.rst +2 -2
@@ -43,7 +43,7 @@ To list interfaces available for capture, use ``--list-interfaces``. To filter packets in style of *tshark*, use the ``-f`` flag. -To capture on multiple interfaces at once, use multiple ``-I`` flags. +To capture on multiple interfaces at once, use multiple ``-i`` flags. Example
@@ -55,7 +55,7 @@ Example 0. 000:00:03.0 1. 000:00:03.1 - # <build_dir>/app/dpdk-dumpcap -I 0000:00:03.0 -c 6 -w /tmp/sample.pcapng + # <build_dir>/app/dpdk-dumpcap -i 0000:00:03.0 -c 6 -w /tmp/sample.pcapng Packets captured: 6 Packets received/dropped on interface '0000:00:03.0' 6/0
Signature · 1 line
2.27.0
Thomas Monjalon
Applied22/08/2022 01:56, Ben Magistro:
Quoted 9 lines
The dumpcap application supports an interface parameter via the
-i[1] option however the current documentation utilizes a-Iflag.[1] https://git.dpdk.org/dpdk/tree/app/dumpcap/main.c#n314
Fixes cbb44143be74 ("app/dumpcap: add new packet capture application")Signed-off-by Ben Magistro <[email protected]>
Applied, thanks.