test each address family (inet4,inet6) once