[Bug 194660] lang/mono Use netstat to get routes instead of /proc/net/route

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 6 09:39:00 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194660

Romain Tartière <romain at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Discussion

--- Comment #4 from Romain Tartière <romain at FreeBSD.org> ---
Hello

I quite agree with the comments in the github pull request but #194845 makes 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, this
might be an interesting thing to investigate in order to fix this problem in 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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the freebsd-mono mailing list