summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/server/server.go2
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)