ports/65043: [patch] net/rsync: problems in client name lookup code

Alex Vasylenko lxv at omut.org
Fri Apr 2 00:58:47 GMT 2004

Wayne Davison wrote:
> Cool.  I thought the length should be OK after that call, but I was
> trying to figure out how this part of your bug report figured into
> your patch:
>>	- fails to set ss_len member of struct sockaddr_storage, which when
>>	  passed to getnameinfo causes the latter to fail;

I've solved both reported problems by using getaddrinfo, which sets 
ss.ss_len correctly, in place of other code which didn't set it.

best regards,

More information about the rsync mailing list