Skip to content

Commit

Permalink
Do not check enabling when EOR received
Browse files Browse the repository at this point in the history
Signed-off-by: Rinat Baygildin <bayrinat@yandex-team.ru>
  • Loading branch information
bayrinat committed Feb 23, 2024
1 parent b6af795 commit fc6798e
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 fc6798e

Please sign in to comment.