Ticket #329 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

Added utility function to parse DNS A response

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjlib-util Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Parsing DNS A response is a bit tricky, especially when CNAME record is present. Since this functionality is needed by both PJLIB-UTIL's DNS SRV and PJSIP's DNS resolution, move this functionality into a utility function pj_dns_parse_a_response() in pjlib-util/resolver.h.

Change History

comment:1 Changed 10 years ago by bennylp

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

Fixed in r1356

Note: See TracTickets for help on using tickets.