diff options
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/table/destination.go b/table/destination.go index 9461713b..7be547c4 100644 --- a/table/destination.go +++ b/table/destination.go @@ -58,6 +58,7 @@ type Destination interface { GetOldBestPath() Path setOldBestPath(path Path) getKnownPathList() []Path + setKnownPathList([]Path) String() string addWithdraw(withdraw Path) addNewPath(newPath Path) @@ -133,6 +134,10 @@ func (dd *DestinationDefault) getKnownPathList() []Path { return dd.knownPathList } +func (dd *DestinationDefault) setKnownPathList(List []Path) { + dd.knownPathList = List +} + func (dd *DestinationDefault) addWithdraw(withdraw Path) { dd.validatePath(withdraw) dd.withdrawList = append(dd.withdrawList, withdraw) |