Skip to content

Commit

Permalink
Do not check enabling when EOR received
Browse files Browse the repository at this point in the history
CLOUD-141391

Signed-off-by: Rinat Baygildin <[email protected]>
  • Loading branch information
bayrinat committed Feb 23, 2024
1 parent b6af795 commit 25d4a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4630,7 +4630,7 @@ func (s *BgpServer) watch(opts ...watchOption) (w *watcher) {
p.fsm.lock.RLock()
defer p.fsm.lock.RUnlock()
for _, a := range p.fsm.pConf.AfiSafis {
if s := a.MpGracefulRestart.State; s.Enabled && s.EndOfRibReceived {
if s := a.MpGracefulRestart.State; s.EndOfRibReceived {
family := a.State.Family
peerInfo := &table.PeerInfo{
AS: p.fsm.peerInfo.AS,
Expand Down

0 comments on commit 25d4a73

Please sign in to comment.