mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael
Farrell.
This commit is contained in:
parent
f2fe7f0881
commit
564a42c8de
2 changed files with 4 additions and 0 deletions
|
@ -304,6 +304,7 @@ Martijn Faassen
|
|||
Clovis Fabricio
|
||||
Andreas Faerber
|
||||
Bill Fancher
|
||||
Michael Farrell
|
||||
Troy J. Farrell
|
||||
Mark Favas
|
||||
Boris Feld
|
||||
|
|
|
@ -6192,6 +6192,9 @@ PyInit__socket(void)
|
|||
#ifdef IP_MAX_MEMBERSHIPS
|
||||
PyModule_AddIntConstant(m, "IP_MAX_MEMBERSHIPS", IP_MAX_MEMBERSHIPS);
|
||||
#endif
|
||||
#ifdef IP_TRANSPARENT
|
||||
PyModule_AddIntConstant(m, "IP_TRANSPARENT", IP_TRANSPARENT);
|
||||
#endif
|
||||
|
||||
/* IPv6 [gs]etsockopt options, defined in RFC2553 */
|
||||
#ifdef IPV6_JOIN_GROUP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue