churchyard / rpms / python2

Forked from rpms/python2 6 years ago
Clone
c6247fd
diff -up Python-2.7rc1/Modules/socketmodule.c.socketmodule2 Python-2.7rc1/Modules/socketmodule.c
c6247fd
--- Python-2.7rc1/Modules/socketmodule.c.socketmodule2	2010-06-07 23:06:59.133498087 -0400
c6247fd
+++ Python-2.7rc1/Modules/socketmodule.c	2010-06-07 23:11:51.249520087 -0400
c6247fd
@@ -5253,6 +5253,15 @@ init_socket(void)
c6247fd
 #ifdef  TCP_QUICKACK
c6247fd
     PyModule_AddIntConstant(m, "TCP_QUICKACK", TCP_QUICKACK);
c6247fd
 #endif
c6247fd
+#ifdef	TCP_CONGESTION
c6247fd
+    PyModule_AddIntConstant(m, "TCP_CONGESTION", TCP_CONGESTION);
c6247fd
+#endif
c6247fd
+#ifdef	TCP_MD5SIG
c6247fd
+    PyModule_AddIntConstant(m, "TCP_MD5SIG", TCP_MD5SIG);
c6247fd
+#endif
c6247fd
+#ifdef	TCP_MD5SIG_MAXKEYLEN
c6247fd
+    PyModule_AddIntConstant(m, "TCP_MD5SIG_MAXKEYLEN", TCP_MD5SIG_MAXKEYLEN);
c6247fd
+#endif
c6247fd
 
c6247fd
 
c6247fd
     /* IPX options */