diff options
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/table/destination.go b/table/destination.go index f5bd2c34..d4c24fa2 100644 --- a/table/destination.go +++ b/table/destination.go @@ -177,12 +177,12 @@ func (dd *Destination) GetBestPath(id string) *Path { return nil } -func (dd *Destination) addWithdraw(withdraw *Path) { +func (dd *Destination) AddWithdraw(withdraw *Path) { dd.validatePath(withdraw) dd.withdrawList = append(dd.withdrawList, withdraw) } -func (dd *Destination) addNewPath(newPath *Path) { +func (dd *Destination) AddNewPath(newPath *Path) { dd.validatePath(newPath) dd.newPathList = append(dd.newPathList, newPath) } |