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 authored and fujita committed Mar 20, 2024
1 parent ed87360 commit 5d5a6b9
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 @@ -4641,7 +4641,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 5d5a6b9

Please sign in to comment.