diff options
Diffstat (limited to 'table/table.go')
-rw-r--r-- | table/table.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/table/table.go b/table/table.go index 33db8130..d5434005 100644 --- a/table/table.go +++ b/table/table.go @@ -44,10 +44,10 @@ func (t *Table) insert(path *Path) *Destination { if path.IsWithdraw { // withdraw insert - dest.addWithdraw(path) + dest.AddWithdraw(path) } else { // path insert - dest.addNewPath(path) + dest.AddNewPath(path) } return dest } @@ -58,7 +58,7 @@ func (t *Table) DeleteDestByPeer(peerInfo *PeerInfo) []*Destination { match := false for _, p := range dst.knownPathList { if p.GetSource().Equal(peerInfo) { - dst.addWithdraw(p) + dst.AddWithdraw(p) match = true } } |