The function networkShutdownNetwork already does that.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/network/bridge_driver.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 5b510a222cd2..b16d524aa181 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -2387,7 +2387,6 @@ networkStartNetwork(virNetworkDriverState *driver,
virErrorPtr save_err;
virErrorPreserveLast(&save_err);
- virNetworkObjUnsetDefTransient(obj);
networkShutdownNetwork(driver, obj);
virErrorRestore(&save_err);
}
--
2.46.0