summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-05-07 03:42:18 +0200
committerGitHub <noreply@github.com>2019-05-07 03:42:18 +0200
commit4a4c6feededd988acef162d9cf5d6b48da94d799 (patch)
tree64c00937312c19281529d5a51234e6796bf13aa4 /ospfd
parentMerge pull request #4256 from donaldsharp/zebra_table (diff)
parentospfd: add bfd up event trace (diff)
downloadfrr-4a4c6feededd988acef162d9cf5d6b48da94d799.tar.xz
frr-4a4c6feededd988acef162d9cf5d6b48da94d799.zip
Merge pull request #4264 from pguibert6WIND/trace_bfd
More traces for BFD clients
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_bfd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ospfd/ospf_bfd.c b/ospfd/ospf_bfd.c
index 42696b85d..6bff5b8dd 100644
--- a/ospfd/ospf_bfd.c
+++ b/ospfd/ospf_bfd.c
@@ -249,6 +249,13 @@ static int ospf_bfd_interface_dest_update(ZAPI_CALLBACK_ARGS)
OSPF_NSM_EVENT_SCHEDULE(nbr, NSM_InactivityTimer);
}
+ if ((status == BFD_STATUS_UP)
+ && (old_status == BFD_STATUS_DOWN)) {
+ if (IS_DEBUG_OSPF(nsm, NSM_EVENTS))
+ zlog_debug("NSM[%s:%s]: BFD Up",
+ IF_NAME(nbr->oi),
+ inet_ntoa(nbr->address.u.prefix4));
+ }
}
return 0;