From cc42a3137cd8d09521b6776ba0f1d76c186f4713 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 2 May 2018 09:53:18 +0900 Subject: table: remove Radixkey member in Destination structure Signed-off-by: FUJITA Tomonori --- table/destination.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'table/destination.go') diff --git a/table/destination.go b/table/destination.go index 44f65e7f..84183002 100644 --- a/table/destination.go +++ b/table/destination.go @@ -169,7 +169,6 @@ type Destination struct { routeFamily bgp.RouteFamily nlri bgp.AddrPrefixInterface knownPathList []*Path - RadixKey string localIdMap *Bitmap } @@ -184,10 +183,6 @@ func NewDestination(nlri bgp.AddrPrefixInterface, mapSize int, known ...*Path) * if mapSize != 0 { d.localIdMap.Flag(0) } - switch d.routeFamily { - case bgp.RF_IPv4_UC, bgp.RF_IPv6_UC, bgp.RF_IPv4_MPLS, bgp.RF_IPv6_MPLS: - d.RadixKey = AddrToRadixkey(nlri) - } return d } -- cgit v1.2.3