From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 438ADA04FD
	for <public@inbox.dpdk.org>; Mon, 22 Aug 2022 01:59:10 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3A22E427FF;
	Mon, 22 Aug 2022 01:59:10 +0200 (CEST)
Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com
 [209.85.219.45])
 by mails.dpdk.org (Postfix) with ESMTP id 1F366410FA;
 Mon, 22 Aug 2022 01:59:08 +0200 (CEST)
Received: by mail-qv1-f45.google.com with SMTP id m17so7067643qvv.7;
 Sun, 21 Aug 2022 16:59:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc;
 bh=zPt5dDi9DeHdHgbV+TU84A7DPE5Tyl0lNd1hkP6dSP8=;
 b=brdwuJLaCiY9HhY7XnzjdOu2JvM5b4jsP0f+ENJtszSNTclq3lmNwNX5CP2tDViv83
 v/RllNJLFqbNEBLdTd4oWxVE4oKA/js7EOSaQJoKenBWakuAv0YY/gCAfmV+D3t0ehFX
 veJQCdect96VVIQUpNeeZP+uz8gx3i1WvGT9wAA627peJzmPFegXgvOMqhUR4T7hq2YE
 1jYvSr36gbkBcfVgbZanY9T8PVlI91jJ5su2cOVGAzv2OqGS5F6KVkSKbCIguwkVhxsl
 8OIdUDWAoxEi5lgidZItYY5lcqKemtrV0zmz35hXb+fHjlNLGTZlmv3urccpR2Ra1BqP
 Jd6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc;
 bh=zPt5dDi9DeHdHgbV+TU84A7DPE5Tyl0lNd1hkP6dSP8=;
 b=o78YonHPCj+75Zjqm0S9F4ftg1f2YLJGTh3+EWxpT37FpGoHOqVotlz2nncIiOm1GQ
 GzgXKW8ni4ow7rV91dfadPbp5Lj9bPP5YQKeYDt2oUznJFCiMHLHe2lcyaR4rFwF6sMk
 iElOkERPbYfM6zvYrkrbo0v7hdlJA24ASvTM/Ic7mYnW2lD58VH+/rqOlBG+WsakaQLj
 wmMvUZD7QdhaRbv+1B0qVygzMF+HOlN+mJBlk58bYJZkFaze5TiEg3wr8spPc3oFKlOq
 MN2t86TrNtyxfKt5zNVvQR/SMTJld7zpRHC6eL1u2H0advQulzrgqT/AFfQ1uwiAf3GY
 jG8w==
X-Gm-Message-State: ACgBeo0/OAKVFYRUDV2Pwd8fG/RJnC1MLQuOQJ85Q22i7cizuqkROV+s
 XuRwDF9PM5HA2lQwMNX5Jd42ye2OdBw=
X-Google-Smtp-Source: AA6agR57zf5R//cWk/qX3QURCBPH87BsPhRTZGXA97KuKL1VZjVNP2+gBYm4MaE70LKcq1+rWJ7j2w==
X-Received: by 2002:a05:6214:2685:b0:477:1d22:f017 with SMTP id
 gm5-20020a056214268500b004771d22f017mr14261892qvb.96.1661126347343; 
 Sun, 21 Aug 2022 16:59:07 -0700 (PDT)
Received: from lvdi-01-iad-l.blue.trinitycyber.com ([38.142.224.194])
 by smtp.gmail.com with ESMTPSA id
 u21-20020a05620a455500b006b615cd8c13sm9815299qkp.106.2022.08.21.16.59.06
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 21 Aug 2022 16:59:07 -0700 (PDT)
From: Ben Magistro <koncept1@gmail.com>
To: dev@dpdk.org
Cc: ben.magistro@trinitycyber.com, stable@dpdk.org, stephen@networkplumber.org,
 Ben Magistro <koncept1@gmail.com>
Subject: [PATCH] apps/dumpcap: fix interface parameter option
Date: Sun, 21 Aug 2022 23:56:18 +0000
Message-Id: <20220821235617.2628-1-koncept1@gmail.com>
X-Mailer: git-send-email 2.27.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org

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