Subject: Re: CVS commit: basesrc/sbin/route
To: Ben Harris <bjh21@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: source-changes
Date: 10/24/2001 11:44:33
>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:

    # route -n show
    Routing tables

    Internet:
    ...
    206.223.36.128    link#7             U      
    206.223.36.132    0:50:4:68:c6:10    UH     

    Internet6:
    ...
    fe80::%ep0        link#7             U      
    ...
    ff02::%ep0        link#7             U      

to this:

    # ./route -n show
    Routing tables

    Internet:
    ...
    206.223.36.128   invalid            U      
    206.223.36.132   invalid            UH     

    Internet6:
    ...
    fe80::%ep0       invalid            U      
    ...
    ff02::%ep0       invalid            U      

what was the problem you were trying to fix?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."