Kaydet (Commit) 564a42c8 authored tarafından Charles-François Natali's avatar Charles-François Natali

Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael

Farrell.
üst f2fe7f08
...@@ -304,6 +304,7 @@ Martijn Faassen ...@@ -304,6 +304,7 @@ Martijn Faassen
Clovis Fabricio Clovis Fabricio
Andreas Faerber Andreas Faerber
Bill Fancher Bill Fancher
Michael Farrell
Troy J. Farrell Troy J. Farrell
Mark Favas Mark Favas
Boris Feld Boris Feld
......
...@@ -6192,6 +6192,9 @@ PyInit__socket(void) ...@@ -6192,6 +6192,9 @@ PyInit__socket(void)
#ifdef IP_MAX_MEMBERSHIPS #ifdef IP_MAX_MEMBERSHIPS
PyModule_AddIntConstant(m, "IP_MAX_MEMBERSHIPS", IP_MAX_MEMBERSHIPS); PyModule_AddIntConstant(m, "IP_MAX_MEMBERSHIPS", IP_MAX_MEMBERSHIPS);
#endif #endif
#ifdef IP_TRANSPARENT
PyModule_AddIntConstant(m, "IP_TRANSPARENT", IP_TRANSPARENT);
#endif
/* IPv6 [gs]etsockopt options, defined in RFC2553 */ /* IPv6 [gs]etsockopt options, defined in RFC2553 */
#ifdef IPV6_JOIN_GROUP #ifdef IPV6_JOIN_GROUP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment