Re: bgpd remove fatalx calls from flowspec.c

2023-04-19 Thread Theo Buehler
On Wed, Apr 19, 2023 at 11:00:46AM +0200, Claudio Jeker wrote: > I want to use this code also in bgpctl (like util.c) and since bgpctl > has no fatalx() and "library" code should not abort. > > The comparison function can not return an error so instead sort invalid > objects in a deterministic way

bgpd remove fatalx calls from flowspec.c

2023-04-19 Thread Claudio Jeker
I want to use this code also in bgpctl (like util.c) and since bgpctl has no fatalx() and "library" code should not abort. The comparison function can not return an error so instead sort invalid objects in a deterministic way. flowspec_cmp() should only be called on flowspec NLRI that have previou