]> granicus.if.org Git - python/commitdiff
- Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
authorLarry Hastings <larry@hastings.org>
Fri, 2 Apr 2010 11:47:10 +0000 (11:47 +0000)
committerLarry Hastings <larry@hastings.org>
Fri, 2 Apr 2010 11:47:10 +0000 (11:47 +0000)
  a socket option available on FreeBSD 7.1 and newer.

Misc/NEWS
Modules/socketmodule.c

index 3efed7842853ed36ab0bcbcbf293153a26565cea..869fdf602fec3b1980d9f5630dbb81323edcc8b6 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -848,6 +848,9 @@ Library
 
 - Issue #6247: The argparse module has been added to the standard library.
 
+- Issue #8235: _socket: Add the constant ``SO_SETFIB``.  SO_SETFIB is
+  a socket option available on FreeBSD 7.1 and newer.
+
 Extension Modules
 -----------------
 
index e65303b2697321803e7ccd5c259e98b4ac5c3882..9dade1dacf575a494b969264ad01f30f002c62a0 100644 (file)
@@ -4551,6 +4551,9 @@ PyInit__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