Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=79211

--- shadow/79211        2006-09-05 16:21:55.000000000 -0400
+++ shadow/79211.tmp.31992      2006-09-05 16:42:44.000000000 -0400
@@ -68,6 +68,20 @@
 Adding code that runs the CheckProtocolSupport() function right before
 GetHostByName_internal() did not help.
 
 Is it possible there are two instances of the same static variable? 
 Perhaps the mono internal code to look up the values of the static
 variables is broken?
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-09-05 16:42 -------
+As a quick hack to work around this issue, I rearranged the checks in
+mono/metadata/socket-io.c:get_family_hint() as follows:
+
+        if(ipv4_enabled == 1 && ipv6_enabled != 1) {
+                return(PF_INET);
+        } else if(ipv4_enabled != 1 && ipv6_enabled == 1) {
+                return(PF_INET6);
+        } else {
+                return(PF_UNSPEC);
+        }
+
+That ordering makes a little more sense to me in any case.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to