Date: Thu, 06 Nov 2014 09:51:51 +0000 From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 194660] lang/mono Use netstat to get routes instead of /proc/net/route Message-ID: <bug-194660-23699-VHslb28JSI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-194660-23699@https.bugs.freebsd.org/bugzilla/> References: <bug-194660-23699@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194660 --- Comment #6 from Ben Woods <woodsb02@gmail.com> --- To explain further why both are required. Refer to the code here: https://github.com/mono/mono/blob/master/mcs/class/System/System.Net.NetworkInformation/IPInterfaceProperties.cs This code defines a base class IPInterfaceProperties. There are 2 derived classes that inherit the members of IPInterfaceProperties: - UnixIPInterfaceProperties (common to Linux, Mac, FreeBSD) - Win32IPInterfaceProperties2 There are 2 derived classes that inherit the members of UnixIPInterfaceProperties: - LinuxIPInterfaceProperties - MacOsIPInterfaceProperties The ParseRouteInfo method is a part of the UnixIPInterfaceProperties class (common to Linux, Mac, FreeBSD). Hence, changing mono on FreeBSD to use the MacOsNetworkInterface class (as per the patches attached to PR194845) does not fix this issue. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194660-23699-VHslb28JSI>