On 04/17/2013 04:40 AM, Peter Krempa wrote:
When turning a started persistent network into a transient one we
forgot
to remove the autostart flag that is no longer valid at that point.
---
src/network/bridge_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index e8b314a..bca6bd9 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -3193,6 +3193,7 @@ networkUndefine(virNetworkPtr net) {
/* make the network transient */
network->persistent = 0;
+ network->autostart = 0;
virNetworkDefFree(network->newDef);
network->newDef = NULL;
ACK.