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 <[email protected]>
  • Loading branch information
bayrinat authored and fujita committed Mar 2, 2024
1 parent aff055b commit fbeaa1c
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 @@ -4639,7 +4639,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 fbeaa1c

Please sign in to comment.