diff options
Diffstat (limited to 'table/table_manager.go')
-rw-r--r-- | table/table_manager.go | 4 |
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) |