diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index 8cef7146604cd5c10266ef68d9c98a279756289a..44537074c2fe676d4d1bcc3e85975d3d41bf9050 100644 --- a/src/network/bridge_driver.c +++ b/src/network/bridge_driver.c @@ -1188,7 +1188,7 @@ static int networkListDefinedNetworks(virConnectPtr conn, char **const names, in static int networkIsActive(virNetworkPtr net) { - struct network_driver *driver = net->conn->privateData; + struct network_driver *driver = net->conn->networkPrivateData; virNetworkObjPtr obj; int ret = -1; @@ -1209,7 +1209,7 @@ cleanup: static int networkIsPersistent(virNetworkPtr net) { - struct network_driver *driver = net->conn->privateData; + struct network_driver *driver = net->conn->networkPrivateData; virNetworkObjPtr obj; int ret = -1;