[OpenSIPS-Devel] [OpenSIPS/opensips] 85b799: dispatcher: Swap ds_mark_dst() parameters [BACKWAR...

Liviu Chircu noreply at github.com
Wed Jun 12 09:28:18 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85b79918bb28bdbd7c267af87c111128b5ac089f
      https://github.com/OpenSIPS/opensips/commit/85b79918bb28bdbd7c267af87c111128b5ac089f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/doc/dispatcher_admin.xml

  Log Message:
  -----------
  dispatcher: Swap ds_mark_dst() parameters [BACKWARDS-INCOMPATIBLE]

In 3.0, ds_mark_dst() had its parameters swapped by mistake, without any
real benefit in doing so, both breaking backwards-compatibility and also
leading to uglier script, such as:

    ds_mark_dst(, "p");

This commit simply reverts the function to its previous behavior,
addressing both issues above.  Hopefully, I don't upset too many people
who migrated to 3.0 during this month following the stable release.

(cherry picked from commit 11884b2375a97ad9d7b0cef7322ad73d2d6bbff8)





More information about the Devel mailing list