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:
Chris Angelico 2025-11-23 04:07:21 +11:00 committed by GitHub
parent dc9d2eea58
commit f21ed37daf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View file

@ -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