]> git.pld-linux.org Git - packages/rsync.git/blame - rsync-ipv6_socket.patch
- new
[packages/rsync.git] / rsync-ipv6_socket.patch
CommitLineData
300a26d9
PS
1--- rsync-2.6.2/socket.c.orig 2004-05-08 23:25:11.979473336 +0200
2+++ rsync-2.6.2/socket.c 2004-05-08 23:27:13.255036648 +0200
3@@ -379,8 +379,8 @@
4
5 #ifdef IPV6_V6ONLY
6 if (resp->ai_family == AF_INET6) {
7- setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
8- (char *)&one, sizeof one);
9+ if(setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof one) < 0)
10+ continue;
11 }
12 #endif
13
This page took 0.027421 seconds and 4 git commands to generate.