Message ID | 1290665220-26478-17-git-send-email-tamura.yoshiaki@lab.ntt.co.jp (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/e1000.c b/hw/e1000.c index 7811699..51a35ec 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -402,9 +402,9 @@ xmit_seg(E1000State *s) memmove(tp->vlan, tp->data, 4); memmove(tp->data, tp->data + 4, 8); memcpy(tp->data + 8, tp->vlan_header, 4); - qemu_send_packet(&s->nic->nc, tp->vlan, tp->size + 4); + qemu_send_packet_proxy(&s->nic->nc, tp->vlan, tp->size + 4); } else - qemu_send_packet(&s->nic->nc, tp->data, tp->size); + qemu_send_packet_proxy(&s->nic->nc, tp->data, tp->size); s->mac_reg[TPT]++; s->mac_reg[GPTC]++; n = s->mac_reg[TOTL];