diff options
Diffstat (limited to 'table/adj.go')
-rw-r--r-- | table/adj.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/table/adj.go b/table/adj.go index 9e4ce528..871a6813 100644 --- a/table/adj.go +++ b/table/adj.go @@ -73,12 +73,6 @@ func (adj *AdjRib) Update(pathList []*Path) { } } -func (adj *AdjRib) RefreshAcceptedNumber(rfList []bgp.RouteFamily) { - for _, rf := range rfList { - adj.accepted[rf] = len(adj.table[rf]) - } -} - func (adj *AdjRib) PathList(rfList []bgp.RouteFamily, accepted bool) []*Path { pathList := make([]*Path, 0, adj.Count(rfList)) for _, rf := range rfList { |