diff options
author | Charles-François Natali <cf.natali@gmail.com> | 2014-09-18 22:18:46 (GMT) |
---|---|---|
committer | Charles-François Natali <cf.natali@gmail.com> | 2014-09-18 22:18:46 (GMT) |
commit | ea07eb9469d1c93a26560a00f6e4ca45d4c1ecdb (patch) | |
tree | 5dcb2e15a000c5a17d5c78bfa97e120a4edcde86 /Modules/socketmodule.c | |
parent | c58c7d487b7c5738352d92fab74fa27d951ee574 (diff) | |
download | cpython-ea07eb9469d1c93a26560a00f6e4ca45d4c1ecdb.zip cpython-ea07eb9469d1c93a26560a00f6e4ca45d4c1ecdb.tar.gz cpython-ea07eb9469d1c93a26560a00f6e4ca45d4c1ecdb.tar.bz2 |
Issue #22378: socket module: add SO_MARK.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 7738c30..cb29821 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -6248,6 +6248,9 @@ PyInit__socket(void) #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 |