diff options
author | Yichen Wang <yicwang@cisco.com> | 2018-08-17 00:14:10 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-08-17 18:53:22 +0900 |
commit | f61858a3acf5a8567148e274a44c1851f6c01809 (patch) | |
tree | 4e8a4471ad51dc42c838314091690e2599fb1647 /pkg/packet | |
parent | 08cd29ea36dffc21b9cead996254e5535868c71f (diff) |
pkg/packet/bgp: Fix NewEVPNMacIPAdvertisementRoute() to use correct MAC length
Diffstat (limited to 'pkg/packet')
-rw-r--r-- | pkg/packet/bgp/bgp.go | 2 |
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, |