[csw-devel] SF.net SVN: gar:[15193] csw/mgar/pkg/lftp/trunk/files/ 0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Sat Jul 23 01:25:24 CEST 2011
Revision: 15193
http://gar.svn.sourceforge.net/gar/?rev=15193&view=rev
Author: chninkel
Date: 2011-07-22 23:25:24 +0000 (Fri, 22 Jul 2011)
Log Message:
-----------
lftp: fixed patch
Modified Paths:
--------------
csw/mgar/pkg/lftp/trunk/files/0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch
Modified: csw/mgar/pkg/lftp/trunk/files/0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch
===================================================================
--- csw/mgar/pkg/lftp/trunk/files/0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch 2011-07-22 23:07:17 UTC (rev 15192)
+++ csw/mgar/pkg/lftp/trunk/files/0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch 2011-07-22 23:25:24 UTC (rev 15193)
@@ -16,7 +16,7 @@
void Networker::SocketSinglePF(int s,int pf)
{
-#if INET6
-+#if INET6 && !(defined (IPV6_V6ONLY))
++#if INET6 && IPV6_V6ONLY
if(pf==PF_INET6) {
int on = 1;
if(-1==setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&on, sizeof(on)))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list