diff options
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go index 2293756d..6faecba9 100644 --- a/server/server.go +++ b/server/server.go @@ -2851,7 +2851,7 @@ func (w *Watcher) Generate(t WatchEventType) error { pathList := func() map[string][]*table.Path { pathList := make(map[string][]*table.Path) for _, t := range rib.Tables { - for _, dst := range t.GetSortedDestinations() { + for _, dst := range t.GetDestinations() { if paths := dst.GetKnownPathList(id, as); len(paths) > 0 { pathList[dst.GetNlri().String()] = clonePathList(paths) } |