summaryrefslogtreecommitdiffhomepage
path: root/table/path.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/path.go')
-rw-r--r--table/path.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/path.go b/table/path.go
index 3b3982f6..a04e0d66 100644
--- a/table/path.go
+++ b/table/path.go
@@ -1194,7 +1194,7 @@ func (p *Path) ToGlobal(vrf *Vrf) *Path {
IPAddress: old.IPAddress,
Labels: old.Labels,
}
- nlri = bgp.NewEVPNNLRI(n.RouteType, n.Length, new)
+ nlri = bgp.NewEVPNNLRI(n.RouteType, new)
case bgp.EVPN_INCLUSIVE_MULTICAST_ETHERNET_TAG:
old := n.RouteTypeData.(*bgp.EVPNMulticastEthernetTagRoute)
new := &bgp.EVPNMulticastEthernetTagRoute{
@@ -1203,7 +1203,7 @@ func (p *Path) ToGlobal(vrf *Vrf) *Path {
IPAddressLength: old.IPAddressLength,
IPAddress: old.IPAddress,
}
- nlri = bgp.NewEVPNNLRI(n.RouteType, n.Length, new)
+ nlri = bgp.NewEVPNNLRI(n.RouteType, new)
}
default:
return p