]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - python/patches/python-2.7rc1-socketmodule-constants2.patch
tzdata: Update to 2014j
[people/ms/ipfire-3.x.git] / python / patches / python-2.7rc1-socketmodule-constants2.patch
CommitLineData
48d9a6a0
MT
1diff -up Python-2.7rc1/Modules/socketmodule.c.socketmodule2 Python-2.7rc1/Modules/socketmodule.c
2--- Python-2.7rc1/Modules/socketmodule.c.socketmodule2 2010-06-07 23:06:59.133498087 -0400
3+++ Python-2.7rc1/Modules/socketmodule.c 2010-06-07 23:11:51.249520087 -0400
4@@ -5253,6 +5253,15 @@ init_socket(void)
5 #ifdef TCP_QUICKACK
6 PyModule_AddIntConstant(m, "TCP_QUICKACK", TCP_QUICKACK);
7 #endif
8+#ifdef TCP_CONGESTION
9+ PyModule_AddIntConstant(m, "TCP_CONGESTION", TCP_CONGESTION);
10+#endif
11+#ifdef TCP_MD5SIG
12+ PyModule_AddIntConstant(m, "TCP_MD5SIG", TCP_MD5SIG);
13+#endif
14+#ifdef TCP_MD5SIG_MAXKEYLEN
15+ PyModule_AddIntConstant(m, "TCP_MD5SIG_MAXKEYLEN", TCP_MD5SIG_MAXKEYLEN);
16+#endif
17
18
19 /* IPX options */