pdump: fix packet snapshot length initialization
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 27 Oct 2021 18:08:47 +0000 (11:08 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 31 Oct 2021 23:36:29 +0000 (00:36 +0100)
commitb2be63b55ab086c52c082d5c0b2b01fffbc48326
treede59fadd89a0fdfb16dd3ba82bc421dc63467669
parentae1702fffedd2548a39715a900a603e8ee362f3f
pdump: fix packet snapshot length initialization

If packet dump was enabled via pdump_enable_by_deviceid
the packet snapshot length was not being set.

Bugzilla ID: 840
Fixes: 10f726efe26c ("pdump: support pcapng and filtering")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/pdump/rte_pdump.c