We must query both IPv4 and IPv6 addresses if the hints parameter is NULL i.e., user does not supply hints or if family is set to AF_UNSPEC. Fixes #16453 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>