diff options
Diffstat (limited to 'table')
-rw-r--r-- | table/destination.go | 10 | ||||
-rw-r--r-- | table/table_manager.go | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/table/destination.go b/table/destination.go index ead4797a..bf4afe63 100644 --- a/table/destination.go +++ b/table/destination.go @@ -58,8 +58,6 @@ type Destination interface { setBestPathReason(string) getBestPath() Path setBestPath(path Path) - getOldBestPath() Path - setOldBestPath(path Path) getKnownPathList() []Path setKnownPathList([]Path) String() string @@ -162,14 +160,6 @@ func (dd *DestinationDefault) setBestPath(path Path) { dd.bestPath = path } -func (dd *DestinationDefault) getOldBestPath() Path { - return dd.oldBestPath -} - -func (dd *DestinationDefault) setOldBestPath(path Path) { - dd.oldBestPath = path -} - func (dd *DestinationDefault) getKnownPathList() []Path { return dd.knownPathList } diff --git a/table/table_manager.go b/table/table_manager.go index a027e4a4..37452e65 100644 --- a/table/table_manager.go +++ b/table/table_manager.go @@ -191,7 +191,6 @@ func (manager *TableManager) calculate(destinationList []Destination) ([]Path, e }).Debug("best path is lost") p := destination.getBestPath() - destination.setOldBestPath(p) newPaths = append(newPaths, p.Clone(true)) } destination.setBestPath(nil) |