diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-19 19:00:46 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-19 19:00:46 +0900 |
commit | 91a846491f414ffcf34b54ee9eb46f5853918ddc (patch) | |
tree | 0b1b44b3fb57886b3e7a51a187c5bd0dc4c6bc2b /server/server.go | |
parent | e191737ce9f9ca46aea9e5991be8330a81703191 (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/server.go')
-rw-r--r-- | server/server.go | 1 |
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)...) } |