From 6110fad59441454c8a6f534874ae29b770098b73 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 11 Apr 2018 21:45:54 +0900 Subject: 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 --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/server.go') 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() } -- cgit v1.2.3