summaryrefslogtreecommitdiffstats
path: root/src/plugins/snort/daq_vpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/snort/daq_vpp.c')
-rw-r--r--src/plugins/snort/daq_vpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/snort/daq_vpp.c b/src/plugins/snort/daq_vpp.c
index ec89b0c114e..91bcb519e0e 100644
--- a/src/plugins/snort/daq_vpp.c
+++ b/src/plugins/snort/daq_vpp.c
@@ -543,6 +543,7 @@ vpp_daq_msg_receive_one (VPP_Context_t *vc, VPPQueuePair *qp,
dd->pkthdr.pktlen = d->length;
dd->pkthdr.address_space_id = d->address_space_id;
dd->msg.data = vc->bpools[d->buffer_pool].base + d->offset;
+ dd->msg.data_len = d->length;
next = next + 1;
msgs[0] = &dd->msg;