aboutgitcodebugslistschat
path: root/vu_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'vu_common.c')
-rw-r--r--vu_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vu_common.c b/vu_common.c
index 57949ca..f254cb6 100644
--- a/vu_common.c
+++ b/vu_common.c
@@ -268,7 +268,7 @@ int vu_send_single(const struct ctx *c, const void *buf, size_t size)
iov_from_buf(in_sg, in_total, VNET_HLEN, buf, total);
if (*c->pcap)
- pcap_iov(in_sg, in_total, VNET_HLEN);
+ pcap_iov(in_sg, in_total, VNET_HLEN, size);
vu_flush(vdev, vq, elem, elem_cnt);
vu_queue_notify(vdev, vq);