diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-19 08:37:00 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-23 11:20:06 +0900 |
commit | f2b91fcb3815830d02205a80096e6056555e5efc (patch) | |
tree | c21d9e3b4177076647748a78d0e676f0241e1be5 /server | |
parent | afdcde8737c024a7564186a723dd24334b67d774 (diff) |
server: fix bug of not sending paths added/deleted through grpc
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 9a300a98..939c2f56 100644 --- a/server/server.go +++ b/server/server.go @@ -785,7 +785,7 @@ func (server *BgpServer) handleGrpc(grpcReq *GrpcRequest) []*SenderMsg { } pathList := handleGlobalRibRequest(grpcReq, pi) if len(pathList) > 0 { - server.propagateUpdate("", false, pathList) + msgs = append(msgs, server.propagateUpdate("", false, pathList)...) grpcReq.ResponseCh <- &GrpcResponse{} close(grpcReq.ResponseCh) } |