aboutsummaryrefslogtreecommitdiff
path: root/hw/net/xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/xgmac.c')
-rw-r--r--hw/net/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c
index 0c5f793bd2..46b1aa17fa 100644
--- a/hw/net/xgmac.c
+++ b/hw/net/xgmac.c
@@ -371,7 +371,7 @@ out:
}
static NetClientInfo net_xgmac_enet_info = {
- .type = NET_CLIENT_OPTIONS_KIND_NIC,
+ .type = NET_CLIENT_DRIVER_NIC,
.size = sizeof(NICState),
.receive = eth_rx,
};