diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2017-02-13 06:30:58 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-02-15 00:10:15 +0900 |
commit | 52356c26f821fdebb3fdf943a1b898a2d1b4d0db (patch) | |
tree | 0ebe5f222851168489f9118eeb77f71547d5ccb6 /api | |
parent | f276279bf6d90b3f5940bc63780cc3483e9d734e (diff) |
server: add a current option to WatchBestPath()
also, use it for zebra integration
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r-- | api/grpc_server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index 8f75c1c1..8fbe53a2 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -347,7 +347,7 @@ func (s *Server) MonitorRib(arg *Table, stream GobgpApi_MonitorRibServer) error w, err := func() (*server.Watcher, error) { switch arg.Type { case Resource_GLOBAL: - return s.bgpServer.Watch(server.WatchBestPath()), nil + return s.bgpServer.Watch(server.WatchBestPath(false)), nil case Resource_ADJ_IN: if arg.PostPolicy { return s.bgpServer.Watch(server.WatchPostUpdate(false)), nil |