[quagga-dev 7286] Re: Quagga bugs on handling BGP extended community attribute

Nick Hilliard nick at inex.ie
Thu Oct 8 12:21:28 BST 2009


Ruichuan,

On 08/10/2009 09:48, Ruichuan Chen wrote:
> 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...

Can you put both of these into bugs.quagga.net?  In particular, do you have 
any sort of reliable repeat case for problem #2?

Nick



More information about the Quagga-dev mailing list