diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-03-10 15:47:20 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-03-14 21:52:32 +0900 |
commit | ed0580dadf31bbe54d021e994e3726dda5cdc1a0 (patch) | |
tree | 8ad026720b1a0ed85686d0df279811498abe7c9b /pkg/server | |
parent | cb5cf73311ceb050979a15e36f128f008c890650 (diff) |
pkg/server: fix global rib summary command
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'pkg/server')
-rw-r--r-- | pkg/server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go index 414e5dbf..92a0ca33 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -2468,7 +2468,7 @@ func (s *BgpServer) getAdjRibInfo(addr string, family bgp.RouteFamily, in bool) } func (s *BgpServer) GetTable(ctx context.Context, r *api.GetTableRequest) (*api.GetTableResponse, error) { - if r == nil || r.Name == "" { + if r == nil { return nil, fmt.Errorf("invalid request") } family := bgp.RouteFamily(0) |