DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] apps/dumpcap: fix interface parameter option
@ 2022-08-21 23:56 Ben Magistro
  2022-10-10  0:11 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Magistro @ 2022-08-21 23:56 UTC (permalink / raw)
  To: dev; +Cc: ben.magistro, stable, stephen, Ben Magistro

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")
Cc: stable@dpdk.org

Signed-off-by: Ben Magistro <koncept1@gmail.com>
---
 doc/guides/tools/dumpcap.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/tools/dumpcap.rst b/doc/guides/tools/dumpcap.rst
index 6fa284380c..d8a137b1cd 100644
--- a/doc/guides/tools/dumpcap.rst
+++ b/doc/guides/tools/dumpcap.rst
@@ -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
 
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] apps/dumpcap: fix interface parameter option
  2022-08-21 23:56 [PATCH] apps/dumpcap: fix interface parameter option Ben Magistro
@ 2022-10-10  0:11 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2022-10-10  0:11 UTC (permalink / raw)
  To: dev, stable, Ben Magistro; +Cc: ben.magistro, stable, stephen

22/08/2022 01:56, Ben Magistro:
> 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")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Ben Magistro <koncept1@gmail.com>

Applied, thanks.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-10  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-21 23:56 [PATCH] apps/dumpcap: fix interface parameter option Ben Magistro
2022-10-10  0:11 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).