rem: return memcmp(ss, ai->ai_addr, valid_len);
context: int compare_addrinfo_sockaddr(const struct addrinfo *ai,			      const struct sockaddr_storage *ss){	int ss_family = get_sockaddr_family(ss);	const char fn[] = "compare_addrinfo_sockaddr";	size_t valid_len;		      	if (ai->ai_family != ss_family) {		rprintf(FERROR,			"%s: response family %d != %d\n",			fn, ai->ai_family, ss_family);		return 1;	}	switch (ss_family) {	case AF_INET:		valid_len = sizeof (struct sockaddr_in);		break;#ifdef INET6	case AF_INET6:		valid_len = sizeof (struct sockaddr_in6);		break;#endif	default:		/* Don't know what to do! */		return 1;	}	return memcmp(ss, ai->ai_addr, valid_len);}