Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6ef8168a8de88d04512b3aa6bb888ac3794fb142 https://github.com/OpenSIPS/opensips/commit/6ef8168a8de88d04512b3aa6bb888ac3794fb142 Author: nexbridge <13848887+nexbri...@users.noreply.github.com> Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c In weight_based_sort() function: - Changed RAND_MAX to RAND_MAX + 1 to make sure that quotient is always less than 1 - Changed float to double to avoid rounding errors, particularly when the value of rand() nears RAND_MAX and thus the quotient could round to 1 Commit: c7f1892a50869e694bf55253f220e30d58a87235 https://github.com/OpenSIPS/opensips/commit/c7f1892a50869e694bf55253f220e30d58a87235 Author: nexbridge <13848887+nexbri...@users.noreply.github.com> Date: 2023-03-15 (Wed, 15 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c Modified bug fix as requested Commit: 48c051fc16f4d83bf176d1eefe1df642882b6b88 https://github.com/OpenSIPS/opensips/commit/48c051fc16f4d83bf176d1eefe1df642882b6b88 Author: Bogdan Andrei IANCU <bog...@opensips.org> Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #3020 from nexbridge/temp Fix bug in weight-based sort Compare: https://github.com/OpenSIPS/opensips/compare/4fe657273d21...48c051fc16f4 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel