From owner-freebsd-mono@FreeBSD.ORG Thu Nov 6 09:51:51 2014 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E190980 for ; Thu, 6 Nov 2014 09:51:51 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55EF1269 for ; Thu, 6 Nov 2014 09:51:51 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sA69ppXO097226 for ; Thu, 6 Nov 2014 09:51:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 194660] lang/mono Use netstat to get routes instead of /proc/net/route Date: Thu, 06 Nov 2014 09:51:51 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@gmail.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 09:51:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194660 --- Comment #6 from Ben Woods --- 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.