[quagga-dev 11420] Re: [PATCH] tests/bgpd: don't hardcode error number (fix f57000c)

David Lamparter equinox at opensourcerouting.org
Mon Aug 18 11:41:29 BST 2014


On Sun, Jul 06, 2014 at 10:52:19PM +0200, David Lamparter wrote:
> f57000c ("bgpd: don't send NOTIFY twice for malformed attrs") introduces
> BGP_ATTR_PARSE_ERROR_NOTIFYPLS as additional error code that implies the
> caller should sent a NOTIFY and convert it to BGP_ATTR_PARSE_ERROR.
> Sadly, the latter was hardcoded in bgp_mp_attr_test.c, which now didn't
> consider the new value to be an error.
> 
> Make the testcase treat all nonzero values as error without discern.
> 
> Signed-off-by: David Lamparter <equinox at opensourcerouting.org>
> ---
> to be applied on stable/0.99.23 since f57000c went there

Applied there.




More information about the Quagga-dev mailing list