summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-18 20:19:01 -0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-18 20:19:01 -0800
commitd7b9a40ba1fa2fb8d1aa9e0210bf117b6c88e996 (patch)
treee2e0ea342a605da3be60329a49c7970877284ab9 /table
parentd5a7a4569a5e6b55eda9c26ce70b846b643ebf50 (diff)
peer: update local rib
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/table_manager.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/table_manager.go b/table/table_manager.go
index 9fe4032a..72fa5f0b 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -257,7 +257,7 @@ func (manager *TableManager) incrCounter(name PeerCounterName, step int) {
manager.Counter[name] = val
}
-func (manager *TableManager) processUpdate(pathList []Path) ([]Path, []Destination, error) {
+func (manager *TableManager) ProcessPaths(pathList []Path) ([]Path, []Destination, error) {
bestPaths := make([]Path, 0)
lostDest := make([]Destination, 0)
@@ -339,7 +339,7 @@ func (manager *TableManager) ProcessUpdate(fromPeer *PeerInfo, message *bgp.BGPM
fromPeer: fromPeer,
}
- return manager.processUpdate(msg.ToPathList())
+ return manager.ProcessPaths(msg.ToPathList())
}
type AdjRib struct {