summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c
index e93017d3e8..898b9afaa0 100644
--- a/net.c
+++ b/net.c
@@ -3021,7 +3021,7 @@ int net_client_init(Monitor *mon, QemuOpts *opts)
}
if (net_client_types[i].init) {
- return net_client_types[i].init(opts, NULL);
+ return net_client_types[i].init(opts, mon);
} else {
return 0;
}