diff options
author | Richard Mudgett <rmudgett@digium.com> | 2018-01-04 17:42:59 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2018-01-05 18:07:49 -0600 |
commit | 0feca9bc184824e656e59410863650703c26088c (patch) | |
tree | 49cd75f58c34ad78bac60ea1367e604abc6b5364 /res/res_pjsip_sips_contact.c | |
parent | b8271826b358afd887f9476201fb7fdf12b7119c (diff) |
res_pjsip.c: Fix endpoint identifier registration name search.
If an endpoint identifier name in the endpoint_identifier_order list is a
prefix to the identifier we are registering, we could install it in the
wrong position of the list.
Assuming
endpoint_identifier_order=username,ip,anonymous
then registering the "ip_only" identifier would put the identifier in the
wrong position of the priority list.
* Fix incorrect strncmp() string prefix matching.
Change-Id: Ib8819ec4b811da8a27419fd93528c54d34f01484
Diffstat (limited to 'res/res_pjsip_sips_contact.c')
0 files changed, 0 insertions, 0 deletions