diff options
Diffstat (limited to 'pkg/server/server.go')
-rw-r--r-- | pkg/server/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/server.go b/pkg/server/server.go index ef8bd3c8..274f7177 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -2521,7 +2521,7 @@ func (s *BgpServer) ListPath(ctx context.Context, r *api.ListPathRequest, fn fun } knownPathList := dst.GetAllKnownPathList() for i, path := range knownPathList { - p := toPathApi(path, getValidation(v, path)) + p := toPathApi(path, getValidation(v, path), r.EnableNlriBinary, r.EnableAttributeBinary) if !table.SelectionOptions.DisableBestPathSelection { if i == 0 { switch r.TableType { @@ -3735,7 +3735,7 @@ func (s *BgpServer) MonitorTable(ctx context.Context, r *api.MonitorTableRequest case <-ctx.Done(): return default: - fn(toPathApi(path, nil)) + fn(toPathApi(path, nil, false, false)) } } case <-ctx.Done(): |