From a1fc515fb323ba19a596770e2915728b382608c4 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 9 Oct 2015 18:29:11 +0900 Subject: server: can safely clear staleAccepted after reset Signed-off-by: FUJITA Tomonori --- server/server.go | 1 + 1 file changed, 1 insertion(+) (limited to 'server') diff --git a/server/server.go b/server/server.go index 893658b1..eda7a3d2 100644 --- a/server/server.go +++ b/server/server.go @@ -1477,6 +1477,7 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg { break } for _, peer := range peers { + peer.staleAccepted = false peer.accepted = 0 } if grpcReq.RequestType == REQ_NEIGHBOR_SOFT_RESET { -- cgit v1.2.3