diff options
Diffstat (limited to 'client/client.go')
-rw-r--r-- | client/client.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/client.go b/client/client.go index 49c5574d..fea22e5d 100644 --- a/client/client.go +++ b/client/client.go @@ -208,8 +208,8 @@ func (cli *Client) EnableNeighbor(addr string) error { return err } -func (cli *Client) DisableNeighbor(addr string) error { - _, err := cli.cli.DisableNeighbor(context.Background(), &api.DisableNeighborRequest{Address: addr}) +func (cli *Client) DisableNeighbor(addr, communication string) error { + _, err := cli.cli.DisableNeighbor(context.Background(), &api.DisableNeighborRequest{Address: addr, Communication: communication}) return err } |