diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-04-11 21:45:54 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-05-07 21:18:04 +0900 |
commit | 6110fad59441454c8a6f534874ae29b770098b73 (patch) | |
tree | 6722d3ab737b71cf90340ce7c598398314770fac /server/server.go | |
parent | 957917651e48e552491d9a6272db296cb5c0a295 (diff) |
avoid updating Path in the rib via MarkStale()
A path object in the adj-in is also in the master rib. We can't update
such.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 30fb9c22..51346da9 100644 --- a/server/server.go +++ b/server/server.go @@ -768,7 +768,7 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *FsmMsg) { peer.fsm.pConf.GracefulRestart.State.PeerRestarting = true var p []bgp.RouteFamily p, drop = peer.forwardingPreservedFamilies() - peer.StaleAll(p) + server.propagateUpdate(peer, peer.StaleAll(p)) } else { drop = peer.configuredRFlist() } |