Signed-off-by: K Shiva Kiran <shiva...@riseup.net>
---
 src/network/bridge_driver.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index caad085192..34c88278cd 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -5149,6 +5149,12 @@ networkSetMetadata(virNetworkPtr net,
                                    driver->xmlopt, cfg->stateDir,
                                    cfg->networkConfigDir, flags);
 
+    if (ret == 0) {
+        virObjectEvent *event = NULL;
+        event = virNetworkEventMetadataChangeNewFromObj(obj, type, uri);
+        virObjectEventStateQueue(driver->networkEventState, event);
+    }
+
  cleanup:
     virNetworkObjEndAPI(&obj);
     return ret;
-- 
2.42.0

Reply via email to