Revision ae50b274 hw/device-hotplug.c
b/hw/device-hotplug.c | ||
---|---|---|
55 | 55 |
nic = &nd_table[i]; |
56 | 56 |
if (nic->used) { |
57 | 57 |
if (nic->private && match_fn(nic->private, arg)) { |
58 |
if (nic->vlan) { |
|
59 |
VLANClientState *vc; |
|
60 |
vc = qemu_find_vlan_client(nic->vlan, nic->private); |
|
61 |
if (vc) |
|
62 |
qemu_del_vlan_client(vc); |
|
63 |
} |
|
58 |
qemu_del_vlan_client(nic->vc); |
|
64 | 59 |
net_client_uninit(nic); |
65 | 60 |
} |
66 | 61 |
} |
Also available in: Unified diff