diff options
Diffstat (limited to 'pkg/server/grpc_server.go')
-rw-r--r-- | pkg/server/grpc_server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index a0aef07a..89f3c534 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -140,9 +140,6 @@ func toPathAPI(binNlri []byte, binPattrs [][]byte, anyNlri *any.Any, anyPattrs [ func toPathApi(path *table.Path, v *table.Validation) *api.Path { nlri := path.GetNlri() anyNlri := apiutil.MarshalNLRI(nlri) - if path.IsWithdraw { - return toPathAPI(nil, nil, anyNlri, nil, path, v) - } anyPattrs := apiutil.MarshalPathAttributes(path.GetPathAttrs()) return toPathAPI(nil, nil, anyNlri, anyPattrs, path, v) } |