]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip.c: Fix apply identify validation.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 4 Jan 2018 18:23:15 +0000 (12:23 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 6 Jan 2018 00:49:32 +0000 (18:49 -0600)
commitba57c037400ab80c013daa1a1a9cc7d96d3417d5
tree70e0223ff7e814cd3ec8e2bb1477f004aca399fe
parentb8271826b358afd887f9476201fb7fdf12b7119c
res_pjsip_endpoint_identifier_ip.c: Fix apply identify validation.

The ip_identify_apply() did not validate the configuration for simple
static configuration errors or deal well with address resolution errors.

* Added missing configuration validation checks.
* Fixed address resolution error handling.
* Demoted an error message to a warning since it does not fail applying
the identify object configuration.

Change-Id: I8b519607263fe88e8ce964f526a45359fd362b6e
res/res_pjsip_endpoint_identifier_ip.c