Opened 8 years ago
Closed 8 years ago
#1979 closed enhancement (fixed)
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 (1)
comment:1 Changed 8 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5485: