Permalink
Please sign in to comment.
Browse files
make `getaddrinfo()` and `getnameinfo()` usage consistent
Use modern name resolution functions and use them in a consistent manner. * Avoid obsolete `gethostbyname()`, `gethostbyname2()` and `gethostbyaddr()` * Maintain consistency in variable names and error messages * Leave IDN handling up to name resolution functions Note: This patch provides a primitive translation of calls to obsolete functions to calls to modern functions but more changes are needed to process the whole result lists instead of using just the first result. Note: This patch skips functions that use jumps to avoid making more damage than benefits.
- Loading branch information...
Showing
with
142 additions
and 204 deletions.
- +2 −1 Makefile
- +12 −18 arping.c
- +15 −13 clockdiff.c
- +3 −3 ninfod/ninfod.c
- +18 −49 ping.c
- +23 −36 ping6_common.c
- +4 −0 ping_common.h
- +4 −5 rdisc.c
- +23 −35 tracepath.c
- +15 −14 tracepath6.c
- +23 −30 traceroute6.c
28
clockdiff.c
Oops, something went wrong.
0 comments on commit
37953bf