- Use getaddrinfo to replace gethostbyname.
- Use getnameinfo with NI_NAMEREQD flag to replace gethostbyaddr.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 58174 Build 55062: arc lint + arc unit
Event Timeline
usr.sbin/arp/arp.c | ||
---|---|---|
262 | Should I use memset to replace the bzero function? |
This comment was removed by bses30074_gmail.com.
Comment Actions
Revise error code
We should use EAI_AGAIN instead of TRY_AGAIN error code while using getnameinfo.