From owner-freebsd-mono@FreeBSD.ORG Sat Nov 15 17:37:36 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 3E2F4A3F for ; Sat, 15 Nov 2014 17:37:36 +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 25BD8D1 for ; Sat, 15 Nov 2014 17:37:36 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAFHba10094218 for ; Sat, 15 Nov 2014 17:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: [Bug 194660] lang/mono Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local Date: Sat, 15 Nov 2014 17:37:36 +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: attachments.isobsolete attachments.created 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: Sat, 15 Nov 2014 17:37:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194660 Ben Woods changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149451|0 |1 is obsolete| | --- Comment #11 from Ben Woods --- Created attachment 149452 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149452&action=edit PR194660: Add mono/metadata/mono-route.c for non-Linux ParseRouteInfo_local This new patch adopts a different approach which does not fork a new netstat process. This new patch still exists to provide the ability to read the gateway addresses on Unix systems which don't have the Linux /proc/net/route file. This is now achieved using sysctl(3) calls in the new file mono/metadata/mono-route.c. This code has been tested to work on both FreeBSD and Mac OS X. This has been submitted upstream for consideration here: https://github.com/mono/mono/pull/1404 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.