Download raw body.
bgpd: kill old aspa-set provider-as code that includes an AFI
bgpd: kill old aspa-set provider-as code that includes an AFI
On Mon, Sep 21, 2026 at 04:00:39PM +0200, Claudio Jeker wrote:
> This has been dead for a long time and I think it is time to burn it
> properly. Kill the backwards compat code that allowed loading old
> rpki-client output files that included an AFI in the provider-as list.
fine by me.
ok
>
> --
> :wq Claudio
>
> Index: parse.y
> ===================================================================
> RCS file: /cvs/src/usr.sbin/bgpd/parse.y,v
> diff -u -p -r1.504 parse.y
> --- parse.y 30 Aug 2026 23:43:22 -0000 1.504
> +++ parse.y 21 Sep 2026 13:56:46 -0000
> @@ -668,12 +668,6 @@ aspa_tas : as4number_any {
> $$->as = $1;
> $$->num = 1;
> }
> - | as4number_any af {
> - if (($$ = calloc(1, sizeof(*$$))) == NULL)
> - fatal(NULL);
> - $$->as = $1;
> - $$->num = 1;
> - }
> ;
>
> rtr : RTR address {
>
bgpd: kill old aspa-set provider-as code that includes an AFI
bgpd: kill old aspa-set provider-as code that includes an AFI