[Mono-bugs] [Bug 77689][Wis] New - Wrong comparision in UdpClient.cs

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 1 17:53:14 EST 2006


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 faina.mail at tiscali.it.

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

--- shadow/77689	2006-03-01 17:53:14.000000000 -0500
+++ shadow/77689.tmp.16311	2006-03-01 17:53:14.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 77689
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: faina.mail at tiscali.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong comparision in UdpClient.cs
+
+At line 51 of UdpClient.cs there is the following comparision:
+
+if(family != AddressFamily.InterNetwork && 
+   family != AddressFamily.InterNetwork)
+        throw new ArgumentException("family");
+
+(I have line-wrapped it)
+
+Obviously the second comparision is wrong as it is the same as the first:
+it sould be InterNetworkV6, for the IPv6 support.


More information about the mono-bugs mailing list