]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_nsm.c
This patch changes ospfd from only listening mode for BFD status updates to interacti...
[mirror_frr.git] / ospfd / ospf_nsm.c
index b7338784962f8811ebe5cce1e0f1bd24853a2b88..baf01b22e4fdf3349ad4a28d6dc77edd7f3434f0 100644 (file)
@@ -48,6 +48,7 @@
 #include "ospfd/ospf_flood.h"
 #include "ospfd/ospf_abr.h"
 #include "ospfd/ospf_snmp.h"
+#include "ospfd/ospf_bfd.h"
 
 static void nsm_clear_adj (struct ospf_neighbor *);
 
@@ -811,6 +812,8 @@ nsm_change_state (struct ospf_neighbor *nbr, int state)
   if (state == NSM_Down)
     nbr->crypt_seqnum = 0;
   
+  ospf_bfd_trigger_event(nbr, old_state, state);
+
   /* Preserve old status? */
 }