summaryrefslogtreecommitdiffhomepage
path: root/client/client.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-26 11:37:08 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-07-26 11:37:59 +0900
commit075f5a719f5d07756915b9766806a5759f0b321e (patch)
treece0e830c9c50c528d227815570a382c20d9a22b6 /client/client.go
parent0730e0f9dd6a00a89da85df29fd7db18a1e0f857 (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.go6
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,