Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/sbin/route



>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@localhost             * "ah!  i see you have the internet
twofsonet%graffiti.com@localhost (Andrew Brown)                that goes 
*ping*!"
andrew%crossbar.com@localhost       * "information is power -- share the 
wealth."



Home | Main Index | Thread Index | Old Index