diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-02-16 17:28:53 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-03-06 11:11:54 +0900 |
commit | c06423e60bfb5d8d19a092d89def8f351e421368 (patch) | |
tree | cd4b87473ff82ec12e5a7c832c9874600da91442 /api/grpc_server.go | |
parent | 2c35b2446d571650e2124fde5e12463b62a33b9e (diff) |
cli: Enable to get nexthop reachability state
This patch enables GoBGP CLI to get the best path based on the nexthop
reachability state.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'api/grpc_server.go')
-rw-r--r-- | api/grpc_server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/grpc_server.go b/api/grpc_server.go index bd1f1885..1b0d70be 100644 --- a/api/grpc_server.go +++ b/api/grpc_server.go @@ -258,6 +258,7 @@ func ToPathApi(path *table.Path) *Path { IsFromExternal: path.IsFromExternal(), NoImplicitWithdraw: path.NoImplicitWithdraw(), Uuid: path.UUID().Bytes(), + IsNexthopInvalid: path.IsNexthopInvalid, } if s := path.GetSource(); s != nil { p.SourceAsn = s.AS |