[ python-Bugs-924294 ] IPV6 not correctly ifdef'd in socketmodule.c

SourceForge.net noreply at sourceforge.net
Mon Mar 29 17:20:49 EST 2004


Bugs item #924294, was opened at 2004-03-27 01:07
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=924294&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
>Priority: 7
Submitted By: David Meleedy (dmeleedy)
>Assigned to: Martin v. Löwis (loewis)
Summary: IPV6 not correctly ifdef'd in socketmodule.c

Initial Comment:
buckaroo-75: diff -c3 socketmodule.c-dist socketmodule.c
*** socketmodule.c-dist Fri Mar 26 18:51:52 2004
--- socketmodule.c      Fri Mar 26 18:52:47 2004
***************
*** 2971,2977 ****
                return NULL;
        }
  
! #ifndef ENABLE_IPV6
        if(af == AF_INET6) {
                PyErr_SetString(socket_error,
                                "can't use AF_INET6,
IPv6 is disabled");
--- 2971,2977 ----
                return NULL;
        }
  
! #ifdef ENABLE_IPV6
        if(af == AF_INET6) {
                PyErr_SetString(socket_error,
                                "can't use AF_INET6,
IPv6 is disabled");


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=924294&group_id=5470



More information about the Python-bugs-list mailing list