summaryrefslogtreecommitdiffstats
path: root/src/plugins/snort/daq_vpp.h
diff options
context:
space:
mode:
authorjiangxiaoming <jiangxiaoming@outlook.com>2022-03-30 06:12:26 +0000
committerDamjan Marion <dmarion@0xa5.net>2023-03-06 14:20:55 +0000
commit15eec552b5f98e61890a4e225c99706c022cf009 (patch)
treea87272dca64aae19acf7d62172ccdde93d52d52b /src/plugins/snort/daq_vpp.h
parente13baaa788d852d97e982057f864c839948517d4 (diff)
snort: fix descriptor offset may be truncated if buffers num too large
Type: fix Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com> Change-Id: I9694f7d8aad8868b11e08fabe179fd51c14dfcdb
Diffstat (limited to 'src/plugins/snort/daq_vpp.h')
-rw-r--r--src/plugins/snort/daq_vpp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/snort/daq_vpp.h b/src/plugins/snort/daq_vpp.h
index 3b875aa15ad..ebec55435f3 100644
--- a/src/plugins/snort/daq_vpp.h
+++ b/src/plugins/snort/daq_vpp.h
@@ -67,7 +67,7 @@ typedef enum
typedef struct
{
- uint32_t offset;
+ uint64_t offset;
uint16_t length;
uint16_t address_space_id;
uint8_t buffer_pool;