You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2007/01/01 21:46:52 UTC

DO NOT REPLY [Bug 41273] New: - Quick fix for building without IPV6

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41273>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41273

           Summary: Quick fix for building without IPV6
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: walker_643@yahoo.com


I found this bug after building with --disable-ipv6 and then building a 
subversion with the new apr libraries. This trivial patch keeps an IPV6-only 
procedure call out of a non-IPV6 build.

Cheers :)
Ian


Index: multicast.c
===================================================================
--- multicast.c (revision 491623)
+++ multicast.c (working copy)
@@ -140,7 +140,13 @@
         else
             return APR_ENOTIMPL;
 
+/* 01.01.07:  added check for IPV6
+              find_if_index() is an ipv6-only procedure
+   IW
+*/
+#if APR_HAVE_IPV6
         mip.gsr_interface = find_if_index(iface);
+#endif
         memcpy(&mip.gsr_group, mcast->ipaddr_ptr, sizeof(mip.gsr_group));
         memcpy(&mip.gsr_source, source->ipaddr_ptr, sizeof(mip.gsr_source));

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 41273] - Quick fix for building without IPV6

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41273>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41273


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From jorton@redhat.com  2007-01-07 10:44 -------


*** This bug has been marked as a duplicate of 39199 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 41273] - Quick fix for building without IPV6

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41273>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41273





------- Additional Comments From walker_643@yahoo.com  2007-01-01 12:47 -------
Created an attachment (id=19336)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19336&action=view)
Patch for non-IPV6 builds of APR


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org