if_get_flags (ifp);
}
+/* BFD session goes down, send message to the protocols. */
+void
+if_bfd_session_down (struct interface *ifp, struct prefix *p)
+{
+ if (IS_ZEBRA_DEBUG_EVENT)
+ {
+ char buf[INET6_ADDRSTRLEN];
+
+ zlog_debug ("MESSAGE: ZEBRA_INTERFACE_BFD_DEST_DOWN %s/%d on %s",
+ inet_ntop (p->family, &p->u.prefix, buf, INET6_ADDRSTRLEN),
+ p->prefixlen, ifp->name);
+ }
+
+ zebra_interface_bfd_update (ifp, p);
+}
+
+
/* Output prefix string to vty. */
static int
prefix_vty_out (struct vty *vty, struct prefix *p)