summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-03 16:48:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-05 17:24:36 +0900
commitf66133c506585424a0e06bb769e2323b73ecddfb (patch)
tree3c6aa213a84e229174ecf3a0ccb417f9e3ef41f5 /server/peer.go
parentfcd0483362fe2b314550f808c2ef2917d7f94400 (diff)
server/table: support mac mobility
RFC7432 15. MAC Mobility Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index 39859c3c..4bda6c9d 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -195,7 +195,7 @@ func (peer *Peer) handleBGPmessage(m *bgp.BGPMessage) ([]*table.Path, bool, []*b
func (peer *Peer) getBests(loc *LocalRib) []*table.Path {
pathList := []*table.Path{}
for _, rf := range peer.configuredRFlist() {
- for _, paths := range loc.rib.GetPathList(rf) {
+ for _, paths := range loc.rib.GetBestPathList(rf) {
pathList = append(pathList, paths)
}
}