diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index 2eb7af4ba4d3f0d277c58587c2ae6528a9b43598..c730c0cc0bf74be6bd0562d169902cd0dd89be8d 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -3799,7 +3799,7 @@ vboxDumpNetworks(virDomainDefPtr def, vboxDriverPtr data, IMachine *machine, PRU { PRUint32 netAdpIncCnt = 0; size_t i = 0; - /* dump network cards if present */ + def->nnets = 0; /* Get which network cards are enabled */ for (i = 0; i < networkAdapterCount; i++) {