Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76bafc6 commit a0f1734Copy full SHA for a0f1734
1 file changed
Modules/socketmodule.c
@@ -3749,6 +3749,9 @@ init_socket(void)
3749
#ifdef IPPROTO_IPV4
3750
PyModule_AddIntConstant(m, "IPPROTO_IPV4", IPPROTO_IPV4);
3751
#endif
3752
+#ifdef IPPROTO_IPV6
3753
+ PyModule_AddIntConstant(m, "IPPROTO_IPV6", IPPROTO_IPV6);
3754
+#endif
3755
#ifdef IPPROTO_IPIP
3756
PyModule_AddIntConstant(m, "IPPROTO_IPIP", IPPROTO_IPIP);
3757
0 commit comments