Ticket #1953 (closed defect: fixed)
Fail to create resolver when library built with IPv6 but run on system without IPv6
|Reported by:||nanang||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
Reported that pjsip_endpt_create_resolver() returns error when PJ_HAS_IPV6 is set to 1 in the build, but run on system without IPv6 support. The error is triggered by failure in IPv6 socket setup (for contacting IPv6 nameservers). So instead of returning error, resolver should just skip IPv6 socket on system without IPv6.
Thanks Alexei Gradinari for the report. Original report can be found here.