[WSD] Use WSAEHOSTUNREACH to prevent WSD connections from falling back onto IPoIB
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 12 May 2006 04:30:31 +0000 (04:30 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 12 May 2006 04:30:31 +0000 (04:30 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@343 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibspdll.c

index f8a5daf..bbe6d5c 100644 (file)
@@ -133,7 +133,7 @@ _DllMain(
 \r
                i = GetEnvironmentVariable( "IBWSD_NO_IPOIB", env_var, sizeof(env_var) );\r
                if( i )\r
 \r
                i = GetEnvironmentVariable( "IBWSD_NO_IPOIB", env_var, sizeof(env_var) );\r
                if( i )\r
-                       g_connect_err = WSAENETDOWN;\r
+                       g_connect_err = WSAEHOSTUNREACH;\r
 \r
                if( init_globals() )\r
                        return FALSE;\r
 \r
                if( init_globals() )\r
                        return FALSE;\r