Bug 180481 (PR_GetAddrInfoByName)
| Summary: | Use PR_GetAddrInfoByName instead of PR_GetIPNodeByName/PR_GetHostByAddr | ||
|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> |
| Component: | Directory Server | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED DUPLICATE | QA Contact: | Orla Hegarty <ohegarty> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | nhosoi, nkinder, ohegarty, wtc |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-10-09 22:50:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rich Megginson
2006-02-08 15:18:53 UTC
We should replace all gethostbyname, PR_GetHostByName, and PR_GetIPNodeByName calls with PR_GetAddrInfoByName calls. PR_GetAddrInfoByName supports both IPv4 and IPv6, so we can test the new code on IPv4 networks now. (In fact, PR_GetAddrInfoByName is supposed to make the code more oblivious of the protocol address family.) This work doesn't need to wait until we have set up an IPv6 network. Was this already done as part of IPv6 enabling the server? If so, can someone mark this as a duplicate? |