summaryrefslogtreecommitdiffhomepage
path: root/table/destination.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/destination.go')
-rw-r--r--table/destination.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/destination.go b/table/destination.go
index 845c2ab2..58991a35 100644
--- a/table/destination.go
+++ b/table/destination.go
@@ -134,7 +134,7 @@ func NewDestination(nlri bgp.AddrPrefixInterface, known ...*Path) *Destination {
newPathList: make([]*Path, 0),
}
switch d.routeFamily {
- case bgp.RF_IPv4_UC, bgp.RF_IPv6_UC:
+ case bgp.RF_IPv4_UC, bgp.RF_IPv6_UC, bgp.RF_IPv4_MPLS, bgp.RF_IPv6_MPLS:
d.RadixKey = CidrToRadixkey(nlri.String())
}
return d