[Mono-bugs] [Bug 601783] New: SharpPcap tries to get a list of network Interfaces
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun May 2 13:34:09 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=601783
http://bugzilla.novell.com/show_bug.cgi?id=601783#c0
Summary: SharpPcap tries to get a list of network Interfaces
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: sebastian.kroop at lowbit.de
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3)
Gecko/20100415 Gentoo Firefox/3.6.3
SharpPcap tries to get a list of network Interfaces with method call:
NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
Result is endless loop of:
"Got a bad hardware address length for an AF_PACKET 16 8"
Reproducible: Always
Steps to Reproduce:
1.NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();
2.
3.
Actual Results:
endless loop of:
"Got a bad hardware address length for an AF_PACKET 16 8"
Expected Results:
Array of NetworkInterface
possible fix is
file:
/mono-2.6.3/mcs/class/System/System.Net.NetworkInformation/NetworkInterface.cs
code:
272. if (((int)sockaddrll.sll_halen) > sockaddrll.sll_addr.Length){
273. Console.Error.WriteLine ("Got a bad hardware address length for an
AF_PACKET {0} {1}", sockaddrll.sll_halen, sockaddrll.sll_addr.Length);
++ 274. next = addr.ifa_next;
275. continue;
278. }
(see: http://osgrid.org/forums/viewtopic.php?f=9&t=1567)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list