Opened 8 years ago

Closed 8 years ago

#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
Priority: normal Milestone: release-2.6
Component: pjlib-util Version: trunk
Keywords: Cc:
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.

Change History (1)

comment:1 Changed 8 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

In r5420:

  • Skip IPv6 socket in resolver on system without IPv6 support.
Note: See TracTickets for help on using tickets.