mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 22:18:23 +00:00
Fix build breakage when using VDE introduced by 4f1c942
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
2
net.c
2
net.c
@@ -1426,7 +1426,7 @@ static void vde_to_qemu(void *opaque)
|
|||||||
static ssize_t vde_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
|
static ssize_t vde_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
|
||||||
{
|
{
|
||||||
VDEState *s = vc->opaque;
|
VDEState *s = vc->opaque;
|
||||||
ssize ret;
|
ssize_t ret;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
ret = vde_send(s->vde, (const char *)buf, size, 0);
|
ret = vde_send(s->vde, (const char *)buf, size, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user