Subject: Re: CVS commit: basesrc/sbin/route
To: Andrew Brown <atatat@atatdot.net>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 10/24/2001 16:55:25
On Wed, 24 Oct 2001, Andrew Brown wrote:

> >Modified Files:
> >	basesrc/sbin/route: show.c
> >
> >Log Message:
> >When dumping the routing table, use getnameinfo() to print link-layer
> >addresses rather than doing it ourselves and falling back to link_ntoa().
>
> this seems to make my route show output go from this:
>     206.223.36.128    link#7             U
> to this:
>     206.223.36.128   invalid            U

Have you rebuilt and re-installed libc since getnameinfo.c rev 1.32?  Note
that since route is statically linked, you'll have to relink and reinstall
it after re-installing libc.  "make build" should get all this right.

> what was the problem you were trying to fix?

That we had five different programs with six different pieces of code for
formatting link-layer addresses.  I wanted to add a new link type, and
only wanted to have to implement the code to format its addresses once.

See <URL:http://mail-index.netbsd.org/tech-net/2001/09/18/0003.html>.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>