aboutsummaryrefslogtreecommitdiff
path: root/hw/xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xgmac.c')
-rw-r--r--hw/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xgmac.c b/hw/xgmac.c
index dd4bdc46f5..e539681d83 100644
--- a/hw/xgmac.c
+++ b/hw/xgmac.c
@@ -371,7 +371,7 @@ static void eth_cleanup(VLANClientState *nc)
}
static NetClientInfo net_xgmac_enet_info = {
- .type = NET_CLIENT_TYPE_NIC,
+ .type = NET_CLIENT_OPTIONS_KIND_NIC,
.size = sizeof(NICState),
.can_receive = eth_can_rx,
.receive = eth_rx,