---
 src/amf/amfnd/su.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/amf/amfnd/su.cc b/src/amf/amfnd/su.cc
index 229b3f6c8..d6104f190 100644
--- a/src/amf/amfnd/su.cc
+++ b/src/amf/amfnd/su.cc
@@ -378,7 +378,11 @@ uint32_t avnd_evt_avd_info_su_si_assign_evh(AVND_CB *cb, 
AVND_EVT *evt) {
            info->msg_act);
     goto done;
   }
-
+  if (cb->is_avd_down == true) {
+    LOG_WA("Received susi_assign_evh for SU:%s while AMF director is offline",
+        su->name.c_str());
+    goto done;
+  }
   if ((cb->term_state == AVND_TERM_STATE_OPENSAF_SHUTDOWN_INITIATED) ||
       (cb->term_state == AVND_TERM_STATE_OPENSAF_SHUTDOWN_STARTED)) {
     if ((su->is_ncs == true) && (info->msg_act == AVSV_SUSI_ACT_MOD) &&
-- 
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