Laurent GUERBY added the comment:
Probable fix in Modules/socketmodule.c after /* IPv4 [gs]etsockopt options */
add:
#ifdef IP_PKTINFO
PyModule_AddIntMacro(m, IP_PKTINFO);
#endif
--
___
Python tracker
<http://bugs.python.org/issue31
New submission from Laurent GUERBY:
The constant socket.IP_PKTINFO is missing.
Definition on Linux:
http://elixir.free-electrons.com/linux/v4.12.7/source/include/uapi/linux/in.h#L96
Exemple code that would benefit from the definition:
https://chiliproject.tetaneutral.net/projects/tetaneutral