]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
authorLarry Hastings <larry@hastings.org>
Fri, 2 Apr 2010 11:18:17 +0000 (11:18 +0000)
committerLarry Hastings <larry@hastings.org>
Fri, 2 Apr 2010 11:18:17 +0000 (11:18 +0000)
a socket option available on FreeBSD 7.1 and newer.

Misc/NEWS
Modules/socketmodule.c

index 38c70836da9d149cf5709047e7289a79a891bdfb..b91bd74ed38e5612e575c749555065600808b00c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -134,6 +134,9 @@ Library
   This is a behavior change, so email's minor version number is now bumped, to
   version 4.0.2, for the 2.7 release.
 
+- Issue #8235: _socket: Add the constant ``SO_SETFIB``.  SO_SETFIB is
+  a socket option available on FreeBSD 7.1 and newer.
+
 Extension Modules
 -----------------
 
index d44a691cf1ad0fbae4df12928a4a922b284f5e35..901cb7d916d47b11495e12b6e0ede188176015e3 100644 (file)
@@ -4779,6 +4779,9 @@ init_socket(void)
 #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