From: Martin v. Löwis Date: Fri, 3 Oct 2003 13:55:37 +0000 (+0000) Subject: Patch #813445: Add missing socket.IPPROTO_IPV6. X-Git-Tag: v2.3.3c1~155 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c39f202ecc46dd9dab7581897d5fbba31161bb7;p=thirdparty%2FPython%2Fcpython.git Patch #813445: Add missing socket.IPPROTO_IPV6. --- diff --git a/Misc/NEWS b/Misc/NEWS index babb79018b72..7ac669b7c988 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -4,6 +4,16 @@ Python News (editors: check NEWS.help for information about editing NEWS using ReST.) +What's New in Python 2.3.3c1? +=================================== + +*Release date: XXX * + +Extension modules +----------------- + +- Patch #813445: Add missing socket.IPPROTO_IPV6. + What's New in Python 2.3.2 (final)? =================================== diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 36b4b3d78925..8fd59636002e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -3749,6 +3749,9 @@ init_socket(void) #ifdef IPPROTO_IPV4 PyModule_AddIntConstant(m, "IPPROTO_IPV4", IPPROTO_IPV4); #endif +#ifdef IPPROTO_IPV6 + PyModule_AddIntConstant(m, "IPPROTO_IPV6", IPPROTO_IPV6); +#endif #ifdef IPPROTO_IPIP PyModule_AddIntConstant(m, "IPPROTO_IPIP", IPPROTO_IPIP); #endif