summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-05-30 16:40:15 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-06-02 15:06:57 +0200
commitaebe2e379f493d5ca85c50e3c0867e545ad0e290 (patch)
tree61bd7599c5c4e939c1e7e53e1c3a2eb4f7a44e11 /bgpd/bgp_debug.c
parentMerge pull request #11299 from taspelund/update-svi-macip (diff)
downloadfrr-aebe2e379f493d5ca85c50e3c0867e545ad0e290.tar.xz
frr-aebe2e379f493d5ca85c50e3c0867e545ad0e290.zip
bgpd: Add Notification CEASE BFD Down message
Related: https://datatracker.ietf.org/doc/html/draft-ietf-idr-bfd-subcode When BFD Down notification comes and BGP is configured to track on BFD events, send BGP Cease/BFD Down notification to the peer. If RFC 8538 is enabled (Notification support for Graceful-Restart), notification should be encapsulated into Hard Reset message. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index cd6ba0084..51e12cb64 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -170,6 +170,7 @@ static const struct message bgp_notify_cease_msg[] = {
"/Connection Collision Resolution"},
{BGP_NOTIFY_CEASE_OUT_OF_RESOURCE, "/Out of Resources"},
{BGP_NOTIFY_CEASE_HARD_RESET, "/Hard Reset"},
+ {BGP_NOTIFY_CEASE_BFD_DOWN, "/BFD Down"},
{0}};
static const struct message bgp_notify_route_refresh_msg[] = {