On Mon, Apr 17, 2023 at 06:56:53PM +0200, Claudio Jeker wrote: > I noticed that the order generated in an RB tree using flowspec_cmp() is > reversed. The problem is that for addresses preferred means smaller. > I think it is best to change the flowspec_cmp function to sort data so > that RB_FOREACH will print them most-preferred to least-preferred. > > I had not caught this oversight until I started to really test all the > bits an pieces.
Oh yes. ok