Hello there! I fixed the bug # 13. There was a problem when retrieving the HITs, IPv6s and IPv4s in gethosts() and gethosts_hit() so it didn't make the linked list properly. Now it is working and it adds the new matches to the beginning of the list. Thus, gethosts() is called first and after gethosts_hit() so in the linked list there will be first IPv6s and then IPv4s. As well, I implemented support for flag AF_UNSPEC. In the case that AI_HIP is set, only HITs are kept in the linked list. In the case that AF_UNSPEC is set, the linked list will be re-ordered so the HITs are first, then IPv6s and finally IPv4s. This code was synchronized to hipl--userspace--2.6--patch-807. Have a nice day! Alberto García