Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 30629:2ef8d62dcc09 2.3
Patch #813445: Add missing socket.IPPROTO_IPV6.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 03 Oct 2003 13:55:37 +0000 |
| parents | 6216e74b88ef |
| children | 8630dd8b5cb4 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Oct 03 13:48:28 2003 +0000 +++ b/Modules/socketmodule.c Fri Oct 03 13:55:37 2003 +0000 @@ -3749,6 +3749,9 @@ #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
