summaryrefslogtreecommitdiffhomepage
path: root/table/table_manager.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-16 19:37:22 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-16 19:40:53 +0900
commit95e585d7f09413fe5fc89397f8b4d50ac41556b8 (patch)
treed8df20d14dce6dffff90a24c8f23c7a505e181e4 /table/table_manager.go
parent504bd6f749224c493f3aa49197674ec08e7c0efe (diff)
table: remove temporary structures
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/table_manager.go')
-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 63c4a60c..542cd1c3 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -142,7 +142,7 @@ type TableManager struct {
type ProcessMessage struct {
innerMessage *bgp.BGPMessage
- fromPeer *Peer
+ fromPeer *PeerInfo
}
func NewTableManager() *TableManager {
@@ -303,7 +303,7 @@ LOOP:
// process BGPUpdate message
// this function processes only BGPUpdate
-func (manager *TableManager) ProcessUpdate(fromPeer *Peer, message *bgp.BGPMessage) ([]Path, []Destination, error) {
+func (manager *TableManager) ProcessUpdate(fromPeer *PeerInfo, message *bgp.BGPMessage) ([]Path, []Destination, error) {
var bestPaths []Path = make([]Path, 0)
var lostDest []Destination = make([]Destination, 0)