mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 10:08:44 +00:00
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>
This commit is contained in:
parent
2ba1fe6951
commit
4a6e80fbf2
@ -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,
|
||||
|
@ -746,7 +746,6 @@ void bgp_notify_send_with_data(struct peer *peer, uint8_t code,
|
||||
|
||||
strlcpy(bgp_notify.data, c,
|
||||
bgp_notify.length);
|
||||
|
||||
}
|
||||
}
|
||||
bgp_notify_print(peer, &bgp_notify, "sending");
|
||||
|
Loading…
Reference in New Issue
Block a user