diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netmap.c b/net/netmap.c index 508b82947d..4197a9c9ba 100644 --- a/net/netmap.c +++ b/net/netmap.c @@ -439,7 +439,7 @@ int net_init_netmap(const NetClientOptions *opts, const char *name, NetClientState *peer, Error **errp) { /* FIXME error_setg(errp, ...) on failure */ - const NetdevNetmapOptions *netmap_opts = opts->netmap; + const NetdevNetmapOptions *netmap_opts = opts->u.netmap; NetClientState *nc; NetmapPriv me; NetmapState *s; |