[Asterisk-Dev] [patch] ast_ouraddrfor replacement using netlink
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Tue Nov 30 09:52:27 MST 2004
On Monday 29 November 2004 20:50, Angus Lees wrote:
> On our boxes we use a lot of policy routing, etc so the naive
> /proc/net/route implementation of ast_ouraddrfor completely fails for
> us. Here's the "proper" implementation for Linux, using netlink --
> similar to "ip route get". The code is based on findsaddr-linux.c
> from traceroute and used with permission from the original author
> (Herbert Xu).
<code snipped>
Please resubmit to bugs.digium.com, along with disclaimers from both
Herbert Xu, as well as yourself. These are the procedures needed to get
the code into CVS.
--
Tilghman
More information about the asterisk-dev
mailing list