summaryrefslogtreecommitdiffhomepage
path: root/pkg/packet
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2018-08-17 00:14:10 -0700
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-08-17 18:53:22 +0900
commitf61858a3acf5a8567148e274a44c1851f6c01809 (patch)
tree4e8a4471ad51dc42c838314091690e2599fb1647 /pkg/packet
parent08cd29ea36dffc21b9cead996254e5535868c71f (diff)
pkg/packet/bgp: Fix NewEVPNMacIPAdvertisementRoute() to use correct MAC length
Diffstat (limited to 'pkg/packet')
-rw-r--r--pkg/packet/bgp/bgp.go2
1 files changed, 1 insertions, 1 deletions
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,