mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
closes bpo-46626: Expose IP_BIND_ADDRESS_NO_PORT socket option. (GH-31106)
This commit is contained in:
parent
a0401d8372
commit
1aa6be06c4
2 changed files with 4 additions and 0 deletions
|
@ -8072,6 +8072,9 @@ PyInit__socket(void)
|
|||
#ifdef IP_TRANSPARENT
|
||||
PyModule_AddIntMacro(m, IP_TRANSPARENT);
|
||||
#endif
|
||||
#ifdef IP_BIND_ADDRESS_NO_PORT
|
||||
PyModule_AddIntMacro(m, IP_BIND_ADDRESS_NO_PORT);
|
||||
#endif
|
||||
|
||||
/* IPv6 [gs]etsockopt options, defined in RFC2553 */
|
||||
#ifdef IPV6_JOIN_GROUP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue