diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2009-11-25 18:49:30 +0000 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:34 -0600 |
| commit | 665a3b071dc6351f9d1840dc50f7cda80bca5f40 (patch) | |
| tree | 1342018a8e29fd3b027776e261732f6db70452cf /hw/virtio-net.c | |
| parent | 68da46eeb6cbe60b03f7afcb4e3cd1b5f14cc259 (diff) | |
| download | focaccia-qemu-665a3b071dc6351f9d1840dc50f7cda80bca5f40.tar.gz focaccia-qemu-665a3b071dc6351f9d1840dc50f7cda80bca5f40.zip | |
net: remove VLANClientState members now in NetClientInfo
Add a NetClientInfo pointer to VLANClientState and use that for the typecode and function pointers. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-net.c')
| -rw-r--r-- | hw/virtio-net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 4f8d89e256..2f201ffc76 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -129,7 +129,7 @@ static int peer_has_vnet_hdr(VirtIONet *n) if (!n->nic->nc.peer) return 0; - if (n->nic->nc.peer->type != NET_CLIENT_TYPE_TAP) + if (n->nic->nc.peer->info->type != NET_CLIENT_TYPE_TAP) return 0; n->has_vnet_hdr = tap_has_vnet_hdr(n->nic->nc.peer); |