nss_dns: Rewrite _nss_dns_gethostbyaddr2_r and getanswer_ptr
The simplification takes advantage of the split from getanswer_r. It fixes various aliases issues, and optimizes NSS buffer usage. The new DNS packet parsing helpers are used, too. Reviewed-by:Siddhesh Poyarekar <siddhesh@sourceware.org> (cherry picked from commit e32547d6)
Loading
Please register or sign in to comment