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
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