Commit a0f1734e authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.

parent 76bafc64
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment