]> git.droids-corp.org - dpdk.git/commit
app/dumpcap: check for failure to set promiscuous
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 10 Feb 2022 23:09:06 +0000 (15:09 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Mar 2022 08:19:46 +0000 (09:19 +0100)
commit499b1cbcf9d376a1130550ee61461276c5138a1b
tree06b0c255e7dcf8b176f664c9a9a400138383414d
parent78e7b29ff10c234b44f20fe7d031d60748920c2d
app/dumpcap: check for failure to set promiscuous

If the rte_eth_promiscuous_enable() fails, then log the error
and continue.

Coverity issue: 373662
Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
app/dumpcap/main.c