Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 073db8237f7cfda49448b6a456e1293b176f3733
      
https://github.com/OpenSIPS/opensips/commit/073db8237f7cfda49448b6a456e1293b176f3733
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  [drouting] fixed weight based selection

if the last element has weight 1, it will never be selected.
This was instroduced with 48c051fc16f4d83bf176d1eefe1df642882b6b88.
The fix is to actually follow the initial PR approach, which was correct. My 
attempt to improve the original PR actually broke stuff there :(

(cherry picked from commit cdd84307a4b4cc08209111e96adef0df8b6ae3ea)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to