From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24A96A0032; Fri, 21 Oct 2022 15:07:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1798F42B9C; Fri, 21 Oct 2022 15:07:17 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id F413941147 for ; Fri, 21 Oct 2022 15:07:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666357635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WXrI4EXKDJ/HBjv49b8NvrRVivgIVYmflsZMKJIEeN8=; b=F3ilFAyDCXoVGNKtA3aaV0m7uKkt+6Xfyp3nlckaB4373zMnmS4ydnAIh02Fbzdc11yhsq FrSz/ks9FbisstX6sOPEjs8I2FQZ1uBGEKvWclhUI45N0mhq9dqsjL5RljR8qz2SvC8rhO ZE9sR8cPlKRP3JiS2/hjtPhMXeuZL2w= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-558-QAWseMSlOTiwMtZ-1k5zvQ-1; Fri, 21 Oct 2022 09:07:14 -0400 X-MC-Unique: QAWseMSlOTiwMtZ-1k5zvQ-1 Received: by mail-pj1-f69.google.com with SMTP id bx24-20020a17090af49800b0020d9ac4b475so1216068pjb.4 for ; Fri, 21 Oct 2022 06:07:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WXrI4EXKDJ/HBjv49b8NvrRVivgIVYmflsZMKJIEeN8=; b=tYGYWX70BD193HWEGCpOjAwxdcN/LwPwTIKCrtG4UmMOg3J+I9yblPgmojoaBURyE1 5A4JT5u5TdNCSgEy8L3fftzKnlCgyRZSK1LchVpeSIePsbeMou/rPMLaKJPgDX54wB10 o6hpa/tPMNRiRku/xtNLNAKGTzXjH9Z5SbFLP6oiVM7qugkquo79c/tBj+3ZqGNJ8Num wrxA6iP7o6G2TxJC+KzG+eYmEKz7XeGSt8W+AFcKMLhyoJpNzs5NhVNIxTQNRwt5rXuC vgiQBc9UpbxlMcZV3gGy6JJ6+UtEYe5nstJahHWEogwqZruukLv/TYj8W6Xb0N6euh3W SbtA== X-Gm-Message-State: ACrzQf1cXswzddBHsRPjnV4YQBu25oEKIrjTyuVqRLa30Vq5Y/7t5cRo csMz3A5Ajffc/gXZji7Rh7rVP0IuKM5YxoinD+hAz0xgA0yce5k2ESEcwZ7/V7P2GGnUHxBcJvo D2+4IRWvlfD+X8pyxius= X-Received: by 2002:a17:902:bf46:b0:179:eba5:90ba with SMTP id u6-20020a170902bf4600b00179eba590bamr19221983pls.16.1666357633459; Fri, 21 Oct 2022 06:07:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5aRfFrITtnujW9+435FzWokFtLU4HYn+lY12jwBhlXMz30ET/Fv8LBhTec4QJc4sUfwZ0RcEicGHmVP/aygk0= X-Received: by 2002:a17:902:bf46:b0:179:eba5:90ba with SMTP id u6-20020a170902bf4600b00179eba590bamr19221964pls.16.1666357633178; Fri, 21 Oct 2022 06:07:13 -0700 (PDT) MIME-Version: 1.0 References: <20221019183255.74217-1-stephen@networkplumber.org> <20221020172846.109011-1-stephen@networkplumber.org> In-Reply-To: <20221020172846.109011-1-stephen@networkplumber.org> From: David Marchand Date: Fri, 21 Oct 2022 15:07:01 +0200 Message-ID: Subject: Re: [PATCH v3] dumpcap: fix pathname for output file To: Stephen Hemminger Cc: dev@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Oct 20, 2022 at 7:29 PM Stephen Hemminger wrote: > > When dumpcap is run with a longer path name such as when > testing, the file prefix would be computed incorrectly. > > Also, print out the resulting filename which is what > similar wireshark program does. > > Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") Cc: stable@dpdk.org > Signed-off-by: Stephen Hemminger Applied, thanks. -- David Marchand