udp: fix the bad getaddrinfo call