]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Make strip extcommunity handle multiple extcommunities
authorvivek <vivek@cumulusnetworks.com>
Wed, 18 Mar 2020 03:27:23 +0000 (20:27 -0700)
committervivek <vivek@cumulusnetworks.com>
Thu, 19 Mar 2020 03:39:32 +0000 (20:39 -0700)
commit003bc2754743d0fd5d85d6dcbfd6279843672dd4
tree271afbb32542995eff893913e0f466232daafbbc
parent1f7170c3bdebb23aacd3a32794bc1baf8ec4b40d
bgpd: Make strip extcommunity handle multiple extcommunities

Extended communities like the BGP Route Target can be present multiple
times in a route's path attribute. Ensure that the strip function for a
particular extended community (type and subtype) handles this and
strips all occurrences.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_ecommunity.c