aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_nic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen_nic.c')
-rw-r--r--hw/xen_nic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index 4206132..350556e 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -301,8 +301,8 @@ static int net_init(struct XenDevice *xendev)
vlan = qemu_find_vlan(netdev->xendev.dev);
netdev->vs = qemu_new_vlan_client(vlan, "xen", NULL,
- net_rx_packet, net_rx_ok, NULL,
- netdev);
+ net_rx_ok, net_rx_packet, NULL,
+ NULL, netdev);
snprintf(netdev->vs->info_str, sizeof(netdev->vs->info_str),
"nic: xenbus vif macaddr=%s", netdev->mac);