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 _______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
