diff Modules/socketmodule.c @ 60161:4b55cea55067

- 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:47:10 +0000
parents 37f6264d1aa3
children 778121b2388b
line wrap: on
line diff
--- a/Modules/socketmodule.c	Fri Apr 02 11:20:07 2010 +0000
+++ b/Modules/socketmodule.c	Fri Apr 02 11:47:10 2010 +0000
@@ -4551,6 +4551,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