[Python-checkins] cpython: Issue #22378: socket module: add SO_MARK.

charles-francois.natali python-checkins at python.org
Fri Sep 19 00:19:38 CEST 2014


http://hg.python.org/cpython/rev/ca0aa0d89273
changeset:   92471:ca0aa0d89273
user:        Charles-François Natali <cf.natali at gmail.com>
date:        Thu Sep 18 23:18:46 2014 +0100
summary:
  Issue #22378: socket module: add SO_MARK.

files:
  Modules/socketmodule.c |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -6248,6 +6248,9 @@
 #ifdef  SO_PRIORITY
     PyModule_AddIntMacro(m, SO_PRIORITY);
 #endif
+#ifdef  SO_MARK
+    PyModule_AddIntMacro(m, SO_MARK);
+#endif
 
     /* Maximum number of connections for "listen" */
 #ifdef  SOMAXCONN

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list