Blame SOURCES/python-2.7rc1-socketmodule-constants2.patch
|
|
8db7d0 |
diff -up Python-2.7rc1/Modules/socketmodule.c.socketmodule2 Python-2.7rc1/Modules/socketmodule.c
|
|
|
8db7d0 |
--- Python-2.7rc1/Modules/socketmodule.c.socketmodule2 2010-06-07 23:06:59.133498087 -0400
|
|
|
8db7d0 |
+++ Python-2.7rc1/Modules/socketmodule.c 2010-06-07 23:11:51.249520087 -0400
|
|
|
8db7d0 |
@@ -5253,6 +5253,15 @@ init_socket(void)
|
|
|
8db7d0 |
#ifdef TCP_QUICKACK
|
|
|
8db7d0 |
PyModule_AddIntConstant(m, "TCP_QUICKACK", TCP_QUICKACK);
|
|
|
8db7d0 |
#endif
|
|
|
8db7d0 |
+#ifdef TCP_CONGESTION
|
|
|
8db7d0 |
+ PyModule_AddIntConstant(m, "TCP_CONGESTION", TCP_CONGESTION);
|
|
|
8db7d0 |
+#endif
|
|
|
8db7d0 |
+#ifdef TCP_MD5SIG
|
|
|
8db7d0 |
+ PyModule_AddIntConstant(m, "TCP_MD5SIG", TCP_MD5SIG);
|
|
|
8db7d0 |
+#endif
|
|
|
8db7d0 |
+#ifdef TCP_MD5SIG_MAXKEYLEN
|
|
|
8db7d0 |
+ PyModule_AddIntConstant(m, "TCP_MD5SIG_MAXKEYLEN", TCP_MD5SIG_MAXKEYLEN);
|
|
|
8db7d0 |
+#endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
/* IPX options */
|