summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_open.c
diff options
context:
space:
mode:
authorbisdhdh <biswajit.sadhu@gmail.com>2019-12-01 06:22:06 +0100
committerbisdhdh <biswajit.sadhu@gmail.com>2020-01-23 05:06:33 +0100
commit4a6e80fbf21ed4f52d8f1614a73d0e107125a30b (patch)
tree86c30542b8e09caf0a83feb5e7be662c604953e2 /bgpd/bgp_open.c
parentbgpd: BGP Garaceful Restart debug logs. (diff)
downloadfrr-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.c7
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,