Date: Sun, 23 Nov 2014 02:33:59 +0000 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 Message-ID: <bug-194660-23699-ihhnKAEttF@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 #12 from Ben Woods <woodsb02@gmail.com> --- Created attachment 149739 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149739&action=edit test.cs: Test C# program to print list of network interfaces and associated gateways to console This test program shows the missing functionality when run on FreeBSD or Mac OSX. For example, when run on my Macbook Pro: $ mcs test.cs $ mono test.exe Gateways lo0 gif0 stf0 en0 en1 fw0 p2p0 $ mono --trace=N:nothing test.exe Gateways [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". lo0 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". gif0 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". stf0 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". en0 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". en1 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". fw0 [0xa0d031d4:] EXCEPTION handling: System.IO.DirectoryNotFoundException: Could not find a part of the path "/proc/net/route". p2p0 Whilst the expected output would be: $ mcs test.cs $ mono test.exe Gateways lo0 Gateway Address ......................... : 127.0.0.1 gif0 stf0 en0 en1 Gateway Address ......................... : 192.168.1.1 fw0 p2p0 -- 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-ihhnKAEttF>