Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 60159:1df34fa491bd legacy-trunk
Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
| author | Larry Hastings <larry@hastings.org> |
|---|---|
| date | Fri, 02 Apr 2010 11:18:17 +0000 |
| parents | d11fbc796499 |
| children | 3431e133913c |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Apr 02 11:01:35 2010 +0000 +++ b/Modules/socketmodule.c Fri Apr 02 11:18:17 2010 +0000 @@ -4779,6 +4779,9 @@ #ifdef SO_TYPE PyModule_AddIntConstant(m, "SO_TYPE", SO_TYPE); #endif +#ifdef SO_SETFIB + PyModule_AddIntConstant(m, "SO_SETFIB", SO_SETFIB); +#endif /* Maximum number of connections for "listen" */ #ifdef SOMAXCONN
