diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 11:37:08 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-07-26 11:37:59 +0900 |
commit | 075f5a719f5d07756915b9766806a5759f0b321e (patch) | |
tree | ce0e830c9c50c528d227815570a382c20d9a22b6 /client/client.go | |
parent | 0730e0f9dd6a00a89da85df29fd7db18a1e0f857 (diff) |
fix addpath send withdraw
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'client/client.go')
-rw-r--r-- | client/client.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/client.go b/client/client.go index e8108c64..2730dd1f 100644 --- a/client/client.go +++ b/client/client.go @@ -401,8 +401,10 @@ func (cli *Client) deletePath(uuid []byte, f bgp.RouteFamily, vrfID string, path return err } p := &api.Path{ - Nlri: n, - Family: uint32(path.GetRouteFamily()), + Nlri: n, + Family: uint32(path.GetRouteFamily()), + Identifier: nlri.PathIdentifier(), + LocalIdentifier: nlri.PathLocalIdentifier(), } reqs = append(reqs, &api.DeletePathRequest{ Resource: resource, |