This has now been mended in upstream's source tree. Observe that the reported behaviour is due to the implementation of getaddrinfo() in glibc. The library code will reduce values passed as its second argument modulo (USHRT_MAX + 1), i.e., modulo 65536.
Regards, Mats Erik Andersson, on behalf of GNU Inetutils. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org