summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-19 19:00:46 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-19 19:00:46 +0900
commit91a846491f414ffcf34b54ee9eb46f5853918ddc (patch)
tree0b1b44b3fb57886b3e7a51a187c5bd0dc4c6bc2b /server
parente191737ce9f9ca46aea9e5991be8330a81703191 (diff)
server: remove wrong updateAccepted call
We can't update #accepted with a specific rf. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r--server/server.go1
1 files changed, 0 insertions, 1 deletions
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)...)
}