Message ID | 1232101150-21663-1-git-send-email-markmc@redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Mark McLoughlin wrote: > KVM's qemu_send_packet() has a return value, qemu's doesn't. > > Applied, thanks.
diff --git a/qemu/net.c b/qemu/net.c index f9b239f..9841197 100644 --- a/qemu/net.c +++ b/qemu/net.c @@ -391,7 +391,7 @@ int qemu_send_packet(VLANClientState *vc1, const uint8_t *buf, int size) int ret = -EAGAIN; if (vc1->link_down) - return; + return 0; #ifdef DEBUG_NET printf("vlan %d send:\n", vlan->id);
KVM's qemu_send_packet() has a return value, qemu's doesn't. Signed-off-by: Mark McLoughlin <markmc@redhat.com> --- qemu/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)