Ticket #1979 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

Add support to parse address string with scope ID

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

Description

For string addresses with scope IDs, which can be useful to specify interface names, such as "fe80::1234%intf1", inet_pton() will simply ignore the scope ID. The solution would be to use getaddrinfo(), which can correctly parse the scope ID.

Change History

comment:1 Changed 6 months ago by ming

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

In 5485:

Fixed #1979: Add support to parse address string with scope ID

Note: See TracTickets for help on using tickets.