diff options
Diffstat (limited to 'api/grpc_server.go')
-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 b7c1eb74..d43a0a8b 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -612,7 +612,7 @@ func (s *Server) MonitorPeerState(arg *Arguments, stream GobgpApi_MonitorPeerSta return fmt.Errorf("invalid request") } return func() error { - w := s.bgpServer.Watch(server.WatchPeerState(false)) + w := s.bgpServer.Watch(server.WatchPeerState(arg.Current)) defer func() { w.Stop() }() for { |