Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: d9c60ef4ca5f0efd1ed06ea89faf92c39d072b55 https://github.com/OpenSIPS/opensips/commit/d9c60ef4ca5f0efd1ed06ea89faf92c39d072b55 Author: Liviu Chircu <li...@opensips.org> Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths: M modules/acc/acc_logic.c M modules/acc/acc_logic.h Log Message: ----------- acc: Fix drop_accounting() (do not be a NOOP!) The bug here was that `drop_accounting()` was building its bitmask as: flag_mask = types * flags; ... whereas it should have done the same as in `do_accounting()`: flag_mask = types + types * flags; ------- ^ the actual acc types to reset were missing! (cherry picked from commit 211a63c9b2ccac346dfc57bca2ede71d286e9989) _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel