From owner-freebsd-mono@FreeBSD.ORG Thu Nov 6 09:39:00 2014 Return-Path: Delivered-To: mono@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3869971F for ; Thu, 6 Nov 2014 09:39:00 +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 203C4C5 for ; Thu, 6 Nov 2014 09:39:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sA69cxYh072110 for ; Thu, 6 Nov 2014 09:39:00 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:39:00 +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: romain@FreeBSD.org 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: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:39:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194660 Romain Tarti=C3=A8re changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Discussion --- Comment #4 from Romain Tarti=C3=A8re --- Hello I quite agree with the comments in the github pull request but #194845 make= s me think that maybe the MacOS code (if there is some) may also be suitable for FreeBSD? I have no MacOS knowledge at all, I just did a quick web search about "/proc/net/route" on MacOS and the results told me that it is not available. Unfortunately, I can't afford the time to dig into this ATM :-( However, t= his might be an interesting thing to investigate in order to fix this problem i= n a more elegant way. As a last resort, maybe creating a specialized FreeBSDIPInterfaceProperties class which overrides the ParseRouteInfo() method may make the code more straightforward to read? --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=