mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.
This commit is contained in:
parent
76bafc64ce
commit
a0f1734e44
1 changed files with 3 additions and 0 deletions
|
@ -3749,6 +3749,9 @@ init_socket(void)
|
|||
#ifdef IPPROTO_IPV4
|
||||
PyModule_AddIntConstant(m, "IPPROTO_IPV4", IPPROTO_IPV4);
|
||||
#endif
|
||||
#ifdef IPPROTO_IPV6
|
||||
PyModule_AddIntConstant(m, "IPPROTO_IPV6", IPPROTO_IPV6);
|
||||
#endif
|
||||
#ifdef IPPROTO_IPIP
|
||||
PyModule_AddIntConstant(m, "IPPROTO_IPIP", IPPROTO_IPIP);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue