diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-06-13 22:47:39 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-06 11:08:15 +0900 |
commit | 51dad96b92fbd483d7674f8f8617cd2bf8ac965b (patch) | |
tree | b9a6da4b026a57e57e66f05e4e0f2c57f9b31419 /server/server.go | |
parent | 6192f9020000a8e1d581a3f92c206189a033bf39 (diff) |
api: remove table/ usage in util.go
This is a part of work removing table/ usage in api/. api/ will depend
on only protobuf stuff and packet/.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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) } |