When checking for AS 0 make sure the full ASPATH is validated and don't
authorclaudio <claudio@openbsd.org>
Wed, 29 Aug 2018 11:43:15 +0000 (11:43 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 29 Aug 2018 11:43:15 +0000 (11:43 +0000)
commit56a9a1b85d4da089c0e289f1070383f93df02213
treec38e26386e34ede8cbfa95040b39744dcacde4ec
parent8c1551d3e05d1fd4f492f08eca4a043ed78dfa72
When checking for AS 0 make sure the full ASPATH is validated and don't
return on the first 0. The other AS_ERR_SOFT cases do the same and ensure
that an ASPATH with an AS_ERR_SOFT is still valid enough for subsequent
manipulation or inspection.
OK benno@
usr.sbin/bgpd/util.c