diff options
Diffstat (limited to 'net/netmap.c')
-rw-r--r-- | net/netmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netmap.c b/net/netmap.c index 64967b947e..beb8d2841c 100644 --- a/net/netmap.c +++ b/net/netmap.c @@ -418,10 +418,10 @@ static NetClientInfo net_netmap_info = { * * ... -net netmap,ifname="..." */ -int net_init_netmap(const NetClientOptions *opts, +int net_init_netmap(const Netdev *netdev, const char *name, NetClientState *peer, Error **errp) { - const NetdevNetmapOptions *netmap_opts = opts->u.netmap.data; + const NetdevNetmapOptions *netmap_opts = netdev->opts->u.netmap.data; struct nm_desc *nmd; NetClientState *nc; Error *err = NULL; |