[csw-devel] SF.net SVN: gar:[15191] 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:03:50 CEST 2011


Revision: 15191
          http://gar.svn.sourceforge.net/gar/?rev=15191&view=rev
Author:   chninkel
Date:     2011-07-22 23:03:49 +0000 (Fri, 22 Jul 2011)

Log Message:
-----------
lftp: improved IPV6_V6ONLY 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 22:55:38 UTC (rev 15190)
+++ csw/mgar/pkg/lftp/trunk/files/0006-no-ipv6_v6only-setsock-option-under-solaris-9.patch	2011-07-22 23:03:49 UTC (rev 15191)
@@ -16,7 +16,7 @@
  void Networker::SocketSinglePF(int s,int pf)
  {
 -#if INET6
-+#if INET6 && !(defined (__SVR4) && defined (__sun))
++#if INET6 && !(defined (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