summaryrefslogtreecommitdiffhomepage
path: root/client/client.go
diff options
context:
space:
mode:
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,