Hello,

On Fri, Apr 10, 2026 at 08:56:33AM +0200, Renaud Allard wrote:
</snip>
> 
> Index: sys/net/pf_norm.c
> ===================================================================
> --- sys/net/pf_norm.c
> +++ sys/net/pf_norm.c
> @@ -187,10 +187,10 @@ pf_frnode_compare(struct pf_frnode *a, s
>  static __inline int
>  pf_frag_compare(struct pf_fragment *a, struct pf_fragment *b)
>  {
> -     int     diff;
> -
> -     if ((diff = a->fr_id - b->fr_id) != 0)
> -             return (diff);
> +     if (a->fr_id > b->fr_id)
> +             return (1);
> +     if (a->fr_id < b->fr_id)
> +             return (-1);
> 
>       return (0);
>  }
> 

    the diff above has been just committed [1]

thanks and
regards
sashan

[1] https://marc.info/?l=openbsd-cvs&m=177603594606794&w=2

Reply via email to