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 c3601d0a..8f75c1c1 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -489,7 +489,7 @@ func (s *Server) EnableNeighbor(ctx context.Context, arg *EnableNeighborRequest) } func (s *Server) DisableNeighbor(ctx context.Context, arg *DisableNeighborRequest) (*DisableNeighborResponse, error) { - return &DisableNeighborResponse{}, s.bgpServer.DisableNeighbor(arg.Address) + return &DisableNeighborResponse{}, s.bgpServer.DisableNeighbor(arg.Address, arg.Communication) } func (s *Server) api2PathList(resource Resource, ApiPathList []*Path) ([]*table.Path, error) { |