virConnectPtr interfaceConn;
virConnectPtr networkConn;
virConnectPtr nodedevConn;
+ virConnectPtr nwfilterConn;
daemonClientStreamPtr streams;
};
virConnectClose(priv->networkConn);
if (priv->nodedevConn)
virConnectClose(priv->nodedevConn);
+ if (priv->nwfilterConn)
+ virConnectClose(priv->nwfilterConn);
VIR_FREE(priv);
}
priv->interfaceConn = virObjectRef(priv->conn);
priv->networkConn = virObjectRef(priv->conn);
priv->nodedevConn = virObjectRef(priv->conn);
+ priv->nwfilterConn = virObjectRef(priv->conn);
/* force update the @readonly attribute which was inherited from the
* virNetServerService object - this is important for sockets that are RW
if ($type =~ /remote_nonnull_node_device/) {
return "priv->nodedevConn";
}
+ if ($type =~ /remote_nonnull_nwfilter/) {
+ return "priv->nwfilterConn";
+ }
}
# This is for the few virConnect APIs that
if ($proc =~ /Node.*Device/) {
return "priv->nodedevConn";
}
+ if ($proc =~ /Connect.*NWFilter/) {
+ return "priv->nwfilterConn";
+ }
return "priv->conn";
}