From 3c39f202ecc46dd9dab7581897d5fbba31161bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 3 Oct 2003 13:55:37 +0000 Subject: Patch #813445: Add missing socket.IPPROTO_IPV6. --- Misc/NEWS | 10 ++++++++++ Modules/socketmodule.c | 3 +++ 2 files changed, 13 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index babb790..7ac669b 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 36b4b3d..8fd5963 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 -- cgit v0.12