From 91a846491f414ffcf34b54ee9eb46f5853918ddc Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 19 Oct 2015 19:00:46 +0900 Subject: server: remove wrong updateAccepted call We can't update #accepted with a specific rf. Signed-off-by: FUJITA Tomonori --- server/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/server.go b/server/server.go index 50e562b2..35f26a86 100644 --- a/server/server.go +++ b/server/server.go @@ -1468,7 +1468,6 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg { pathList := peer.adjRib.GetInPathList(grpcReq.RouteFamily) if peer.isRouteServerClient() { pathList, _ = peer.ApplyPolicy(table.POLICY_DIRECTION_IN, pathList) - peer.updateAccepted(uint32(len(pathList))) } msgs = append(msgs, server.propagateUpdate(peer, pathList)...) } -- cgit v1.2.3