Re: bgpd more checks for adjout prefixes

2022-02-28 Thread Theo Buehler
On Mon, Feb 28, 2022 at 12:16:58PM +0100, Claudio Jeker wrote: > rde_dump_adjout_upcall() and rde_dump_adjout_prefix_upcall() work only > on prefixes that belong to the Adj-RIB-Out so check for the > PREFIX_FLAG_ADJOUT to make sure it is set. > > Other code has the same 'assert' in rde_rib.c and

bgpd more checks for adjout prefixes

2022-02-28 Thread Claudio Jeker
rde_dump_adjout_upcall() and rde_dump_adjout_prefix_upcall() work only on prefixes that belong to the Adj-RIB-Out so check for the PREFIX_FLAG_ADJOUT to make sure it is set. Other code has the same 'assert' in rde_rib.c and I think it makes most sense to put it here as well. -- :wq Claudio