summaryrefslogtreecommitdiffhomepage
path: root/pkg/packet/bgp/bgp_test.go
AgeCommit message (Collapse)Author
2021-08-25pkg/packet/bgp: avoid copying PrefixDefault lock in Test_CompareFlowSpecNLRIMatt Layher
Signed-off-by: Matt Layher <mlayher@fastly.com>
2021-08-12Fix extended-nexthop & add-path capability parsing.Konrad Zemek
The capabilities' DecodeFromBytes() was eating as much data as given, while these functions would normally be called with all the data remaining to parse - e.g. including following capabilities. Fixes osrg/gobgp#2399
2021-03-01Fix LsTLVIgpRouterID.DecodeFromBytesKirill Smorodinnikov
According to https://tools.ietf.org/html/rfc7752#section-3.2.1.4, IGPRouterID could be 4-octet for OSPFv2 or OSPFv3 non-pseudonode.
2020-12-20fixed mistypeSergey Elantsev
2020-12-20fixed possible crashes on parsing of bgp messagesSergey Elantsev
2020-10-21packet: handle malformed prefix lenFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-21pkg/packt/bgp: add test when receiving an update with invalid AS_PATH LengthEiichiro Watanabe
2019-01-26Add experimental BGP-LS featureArtur Makutunowicz
2018-11-16packet: fix NewPathAttributeNextHop() to handle ipv6 addresssFUJITA Tomonori
PathAttributeNextHop struct can handle ipv6 address but NewPathAttributeNextHop() can't. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-07follow Standard Go Project LayoutFUJITA Tomonori
https://github.com/golang-standards/project-layout Now you can see clearly what are private and public library code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>