diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-11-06 00:33:52 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-11-06 00:33:52 +0900 |
commit | 18f44014b9a22a418993da190a2ca1b6c7512856 (patch) | |
tree | 2e2704dcf0f303e94090d160ff7592268818be13 /packet/bgp_test.go | |
parent | d37e3442c78e34850022b4fb4b2c57d527ef22b6 (diff) |
packet: add one 16bit AS test PathAttributeAggregator
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r-- | packet/bgp_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go index e09ffc44..46ff293d 100644 --- a/packet/bgp_test.go +++ b/packet/bgp_test.go @@ -89,6 +89,7 @@ func update() *BGPMessage { NewPathAttributeMultiExitDisc(1 << 20), NewPathAttributeLocalPref(1 << 22), NewPathAttributeAtomicAggregate(), + NewPathAttributeAggregator(uint16(30002), "129.0.2.99"), NewPathAttributeAggregator(uint32(30002), "129.0.2.99"), NewPathAttributeAggregator(uint32(300020), "129.0.2.99"), NewPathAttributeCommunities([]uint32{1, 3}), |