---
 src/amf/amfnd/susm.cc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/amf/amfnd/susm.cc b/src/amf/amfnd/susm.cc
index 52af63b83..04ced426d 100644
--- a/src/amf/amfnd/susm.cc
+++ b/src/amf/amfnd/susm.cc
@@ -1608,6 +1608,16 @@ uint32_t avnd_su_pres_fsm_run(AVND_CB *cb, AVND_SU *su, 
AVND_COMP *comp,
   /* process state change */
   if (prv_st != final_st)
     rc = avnd_su_pres_st_chng_prc(cb, su, prv_st, final_st);
+  else {
+    // If SU has been already instantiated, inform amfd
+    if (SA_AMF_PRESENCE_INSTANTIATED == final_st &&
+        su_all_pi_comps_instantiated(su) == true) {
+      if (m_AVND_SU_OPER_STATE_IS_ENABLED(su)) {
+        TRACE("SU oper state is enabled");
+        rc = avnd_di_oper_send(cb, su, 0);
+      }
+    }
+  }
 
 done:
   TRACE_LEAVE2("%u", rc);
-- 
2.11.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to