- 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 Warnings Severity Location Code Message Warning usr.sbin/arp/arp_netlink.c: CHMOD1 Invalid Executable - Unit
No Test Coverage - Build Status
Buildable 58173 Build 55061: arc lint + arc unit
Event Timeline
usr.sbin/arp/arp.c | ||
---|---|---|
262–263 | 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.