diff options
Diffstat (limited to 'internal/pkg/table/table.go')
-rw-r--r-- | internal/pkg/table/table.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/pkg/table/table.go b/internal/pkg/table/table.go index a2002b41..c7e505cc 100644 --- a/internal/pkg/table/table.go +++ b/internal/pkg/table/table.go @@ -117,14 +117,6 @@ func (t *Table) deleteRTCPathsByVrf(vrf *Vrf, vrfs map[string]*Vrf) []*Path { return pathList } -func (t *Table) deleteDestByNlri(nlri bgp.AddrPrefixInterface) *Destination { - if dst := t.GetDestination(nlri); dst != nil { - t.deleteDest(dst) - return dst - } - return nil -} - func (t *Table) deleteDest(dest *Destination) { destinations := t.GetDestinations() delete(destinations, t.tableKey(dest.GetNlri())) |