We were accessing the wrong private data structure, which would cause a segfault. Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx> --- src/network/bridge_driver.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c index 8cef714..4453707 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; -- 1.6.5.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list