mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141817: Add IPV6_HDRINCL constant to the socket module (#141818)
Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
This commit is contained in:
parent
dc9d2eea58
commit
f21ed37daf
3 changed files with 7 additions and 0 deletions
|
|
@ -8901,6 +8901,9 @@ socket_exec(PyObject *m)
|
|||
#ifdef IPV6_HOPLIMIT
|
||||
ADD_INT_MACRO(m, IPV6_HOPLIMIT);
|
||||
#endif
|
||||
#ifdef IPV6_HDRINCL
|
||||
ADD_INT_MACRO(m, IPV6_HDRINCL);
|
||||
#endif
|
||||
#ifdef IPV6_HOPOPTS
|
||||
ADD_INT_MACRO(m, IPV6_HOPOPTS);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue