diff options
author | bisdhdh <biswajit.sadhu@gmail.com> | 2019-12-01 06:22:06 +0100 |
---|---|---|
committer | bisdhdh <biswajit.sadhu@gmail.com> | 2020-01-23 05:06:33 +0100 |
commit | 4a6e80fbf21ed4f52d8f1614a73d0e107125a30b (patch) | |
tree | 86c30542b8e09caf0a83feb5e7be662c604953e2 /bgpd/bgp_open.c | |
parent | bgpd: BGP Garaceful Restart debug logs. (diff) | |
download | frr-4a6e80fbf21ed4f52d8f1614a73d0e107125a30b.tar.xz frr-4a6e80fbf21ed4f52d8f1614a73d0e107125a30b.zip |
bgpd: Added bgp graceful restart additional debug logs.
bgp graceful restart additional debug logs, resolved
merge conflicts.
Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
Diffstat (limited to 'bgpd/bgp_open.c')
-rw-r--r-- | bgpd/bgp_open.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c index e04964ff3..e743fdda8 100644 --- a/bgpd/bgp_open.c +++ b/bgpd/bgp_open.c @@ -1355,6 +1355,13 @@ static void bgp_peer_send_gr_capability(struct stream *s, struct peer *peer, * only when GR config is present */ if (CHECK_FLAG(peer->flags, PEER_FLAG_GRACEFUL_RESTART)) { + + if (bgp_flag_check(peer->bgp, + BGP_FLAG_GR_PRESERVE_FWD) && + BGP_DEBUG(graceful_restart, + GRACEFUL_RESTART)) + zlog_debug("[BGP_GR] F bit Set"); + FOREACH_AFI_SAFI (afi, safi) { if (peer->afc[afi][safi]) { if (BGP_DEBUG(graceful_restart, |