mirror of
https://git.proxmox.com/git/qemu
synced 2025-06-25 10:18:08 +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:
parent
f8e76fbf51
commit
068daedd7d
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user