]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_open.c
bgpd: GR fixes
authorNaveen Thanikachalam <nthanikachal@vmware.com>
Tue, 16 Jun 2020 12:20:41 +0000 (05:20 -0700)
committerNaveen Thanikachalam <nthanikachal@vmware.com>
Tue, 14 Jul 2020 08:39:39 +0000 (01:39 -0700)
commit77b34214ea44d4f9203f6728cbe67f73555c4735
treea7f38fea4462e8d55617fd3b3bb847258d1b51ed
parenteeec40ba69ddb56ab479c61d8a9fb992ca6db914
bgpd: GR fixes

1) When a session comes up for a peer and if the peer has not adverised
   the GR capabilities, BGP sends a request to Zebra to clear any
   stale routes that might exist from that peer.
2) When OPEN message is received from the peer, clear the previously
   advertised GR capability by the peer, if the lastest received
   OPEN message does not contain the GR capability.

Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
bgpd/bgp_fsm.c
bgpd/bgp_open.c