[Python-checkins] python/dist/src/Modules socketmodule.c, 1.273, 1.274

loewis at users.sourceforge.net loewis at users.sourceforge.net
Fri Oct 3 09:56:23 EDT 2003


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv20466/Modules

Modified Files:
	socketmodule.c 
Log Message:
Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -C2 -d -r1.273 -r1.274
*** socketmodule.c	7 Aug 2003 11:55:15 -0000	1.273
--- socketmodule.c	3 Oct 2003 13:56:20 -0000	1.274
***************
*** 3750,3753 ****
--- 3750,3756 ----
  	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);





More information about the Python-checkins mailing list