[OpenSIPS-Devel] [OpenSIPS/opensips] 50a794: usrloc: Fix `matching_mode` regression in 3aae7e65...

Liviu Chircu noreply at github.com
Wed Dec 9 07:04:21 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 50a794c182221ff09de263c9c479ee9a8ccb6aca
      https://github.com/OpenSIPS/opensips/commit/50a794c182221ff09de263c9c479ee9a8ccb6aca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-12-09 (Wed, 09 Dec 2020)

  Changed paths:
    M modules/usrloc/ucontact.h

  Log Message:
  -----------
  usrloc: Fix `matching_mode` regression in 3aae7e652d2d

Commit 3aae7e652d did too many things at once, including the refactoring
of CT_MATCH_NONE from -1 to 0 (along with all other enum members!),
causing a mismatch of this module parameter with its documentation, and
leading to failed startup checks under ul_init_globals().

Credits to @98oi98 for the report!

Fixes #2337

(cherry picked from commit dc8cfe85abd7f38e476a02a47862a034c2a272ce)





More information about the Devel mailing list