Blame python-2.5.1-socketmodule-constants2.patch
|
|
1146d2a |
diff -rup Python-2.5.1-orig/Modules/socketmodule.c Python-2.5.1/Modules/socketmodule.c
|
|
|
1146d2a |
--- Python-2.5.1-orig/Modules/socketmodule.c 2008-03-25 09:59:38.000000000 -0400
|
|
|
1146d2a |
+++ Python-2.5.1/Modules/socketmodule.c 2008-03-25 10:12:24.000000000 -0400
|
|
|
1146d2a |
@@ -4977,6 +4977,15 @@ init_socket(void)
|
|
|
1146d2a |
#ifdef TCP_QUICKACK
|
|
|
1146d2a |
PyModule_AddIntConstant(m, "TCP_QUICKACK", TCP_QUICKACK);
|
|
|
1146d2a |
#endif
|
|
|
1146d2a |
+#ifdef TCP_CONGESTION
|
|
|
1146d2a |
+ PyModule_AddIntConstant(m, "TCP_CONGESTION", TCP_CONGESTION);
|
|
|
1146d2a |
+#endif
|
|
|
1146d2a |
+#ifdef TCP_MD5SIG
|
|
|
1146d2a |
+ PyModule_AddIntConstant(m, "TCP_MD5SIG", TCP_MD5SIG);
|
|
|
1146d2a |
+#endif
|
|
|
1146d2a |
+#ifdef TCP_MD5SIG_MAXKEYLEN
|
|
|
1146d2a |
+ PyModule_AddIntConstant(m, "TCP_MD5SIG_MAXKEYLEN", TCP_MD5SIG_MAXKEYLEN);
|
|
|
1146d2a |
+#endif
|
|
|
1146d2a |
|
|
|
1146d2a |
|
|
|
1146d2a |
/* IPX options */
|
|
|
1146d2a |
Only in Python-2.5.1/Modules: socketmodule.c~
|