summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp_test.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-09 23:02:23 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-09 23:02:23 +0900
commitf8f2e44bbb2fcd376a72950b488fd12e09969802 (patch)
treed6884e0299d873fa13d825f1219a8b3ff405ccdd /packet/bgp_test.go
parentf3342c236eff5e5bc378fd320b538a0f02ac20e3 (diff)
packet: fix EVPN MAC/IP Advertisement Route parser
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r--packet/bgp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go
index 97734606..64228a36 100644
--- a/packet/bgp_test.go
+++ b/packet/bgp_test.go
@@ -92,7 +92,7 @@ func update() *BGPMessage {
&EVPNMacIPAdvertisementRoute{NewRouteDistinguisherFourOctetAS(5, 6),
EthernetSegmentIdentifier{ESI_ARBITRARY, make([]byte, 9)}, 3, 48,
mac, 32, net.ParseIP("192.2.1.2"),
- []uint32{3}}),
+ []uint32{3, 4}}),
NewEVPNNLRI(EVPN_INCLUSIVE_MULTICAST_ETHERNET_TAG, 0,
&EVPNMulticastEthernetTagRoute{NewRouteDistinguisherFourOctetAS(5, 6), 3, 32, net.ParseIP("192.2.1.2")}),
NewEVPNNLRI(EVPN_ETHERNET_SEGMENT_ROUTE, 0,