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

Liviu Chircu noreply at github.com
Wed Jun 12 09:27:48 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11884b2375a97ad9d7b0cef7322ad73d2d6bbff8
      https://github.com/OpenSIPS/opensips/commit/11884b2375a97ad9d7b0cef7322ad73d2d6bbff8
  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.





More information about the Devel mailing list