Fix to track-kameipv6 branch for socket.c

Villalovos, John L john.l.villalovos at intel.com
Fri Nov 9 14:16:39 EST 2001


I ran into a problem where systems without DNS entries could not connect to
the rsync server with the IPV6 patch applied.

Here is a fix to the problem.

Basically they were checking the list of IP addresses returned by getaddr
even if getaddr failed.  I just changed it so they only check the list of IP
addresses if getaddr succeeds.

Any comments on this please email me directly because I do not belong to
this mailing list.  The reason I fixed this is because the rsync RPM that
comes with Red Hat 7.2 contained the IPV6 patch in it.

Later,
John

John Villalovos
Intel Corporation 
15220 NW GREENBRIER PKWY # CO5-162
BEAVERTON, OR  97006-5762
(503) 677-5777   Fax: (503) 677-6670

GPG 1.+/PGP 5.+/ DSS/Diffie Helman
http://www.sodarock.com/JohnVillalovos-gpgkey.txt
1024D/1A25D86C 2F24 AD89 E5D5 C92B 7FE2  F878 7ED5 2D38 1A25 D86C

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipv6-socket.c.patch
Type: application/octet-stream
Size: 1465 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20011108/af47b67a/ipv6-socket.c.obj


More information about the rsync mailing list