[quagga-dev 7285] Quagga bugs on handling BGP extended community attribute

Ruichuan Chen rchen at mpi-sws.org
Thu Oct 8 09:48:41 BST 2009


Hi Quagga developers,

It seems that there are a couple of bugs with Quagga-0.99.15 on
handling BGP extended community attributes:

1) if a received BGP update has more than one extended community
attribute, the route-map cannot match one of them... This is easy to
be fixed:

change line 816 in bgp_ecommunity.c (ver0.99.15) to "if (memcmp
(ecom1->val + i * ECOMMUNITY_SIZE, ecom2->val + j * ECOMMUNITY_SIZE,
ECOMMUNITY_SIZE) == 0)".

2) sometimes, when I set extended attributes on incoming BGP updates,
the Quagga would crash...

Best regards,
Ruichuan



More information about the Quagga-dev mailing list