CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2024/08/19 01:28:22

Modified files:
        usr.bin/w      : w.c 

Log message:
Get rid of inet_aton(3).

inet_aton(3) is not a good interface to figure out if something looks
like an IP address and a reverse DNS lookup should be performed.

The modern way to do this is to chain getaddrinfo(3) with
getnameinfo(3). As a bonus this gives us reverse lookup for IPv6, too.

OK kn

Reply via email to