aboutsummaryrefslogtreecommitdiffstats
path: root/examples/vhost/virtio_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vhost/virtio_net.c')
-rw-r--r--examples/vhost/virtio_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vhost/virtio_net.c b/examples/vhost/virtio_net.c
index 5a965a34..8ea6b36d 100644
--- a/examples/vhost/virtio_net.c
+++ b/examples/vhost/virtio_net.c
@@ -103,7 +103,7 @@ enqueue_pkt(struct vhost_dev *dev, struct rte_vhost_vring *vr,
remain -= len;
guest_addr += len;
- dst += len;
+ src += len;
}
desc_chunck_len = desc->len - dev->hdr_len;