From f61858a3acf5a8567148e274a44c1851f6c01809 Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Fri, 17 Aug 2018 00:14:10 -0700 Subject: pkg/packet/bgp: Fix NewEVPNMacIPAdvertisementRoute() to use correct MAC length --- pkg/packet/bgp/bgp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/packet') diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index 1be42ec5..7586f47e 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -2559,7 +2559,7 @@ func NewEVPNMacIPAdvertisementRoute(rd RouteDistinguisherInterface, esi Ethernet RD: rd, ESI: esi, ETag: etag, - MacAddressLength: 6, + MacAddressLength: 48, MacAddress: mac, IPAddressLength: ipLen, IPAddress: ip, -- cgit v1.2.3