aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net.c')
-rw-r--r--net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.c b/net.c
index 1586c68..55f70f2 100644
--- a/net.c
+++ b/net.c
@@ -472,7 +472,7 @@ void qemu_flush_queued_packets(VLANClientState *vc)
}
if (packet->sent_cb)
- packet->sent_cb(packet->sender);
+ packet->sent_cb(packet->sender, ret);
qemu_free(packet);
}
@@ -1138,7 +1138,7 @@ static ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen)
}
#endif
-static void tap_send_completed(VLANClientState *vc)
+static void tap_send_completed(VLANClientState *vc, ssize_t len)
{
TAPState *s = vc->opaque;
tap_read_poll(s, 1);