MFC 287349,287404:- Print sdl->sdl_data when sdl->sdl_nlen > 0 && sdl->sdl_alen == 0 as link_ntoa(3) does.- snprintf() returns at most size-1 of the chars printed into the buffer. (n == hostlen) also means the buffer length was too short.
MFC 287595:- Fix SIGSEGV when sa == NULL. NULL check in getnameinfo_inet() did not work as expected.- Simplify afdl table lookup.