DragonFly submit List (threaded) for 2007-09
DragonFly BSD
DragonFly submit List (threaded) for 2007-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Fix a bug in route(8)


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Sun, 30 Sep 2007 20:46:02 +0800

On 9/11/07, Nuno Antunes <nuno.antunes@gmail.com> wrote:
> On 9/10/07, Nuno Antunes <nuno.antunes@gmail.com> wrote:
> > On 9/10/07, Matthew Dillon <dillon@apollo.backplane.com> wrote:
> > >     Works here.  I noticed something while testing it... netstat -rn
> > >     (display routes) is not displaying CIDR blocks properly.  Look:
> > >
> > > Internet:
> > > Destination        Gateway            Flags    Refs      Use  Netif Expire
> > > 127.0.0.1          127.0.0.1          UH          0      183    lo0
> > > 128.0/8            216.240.41.5       UGSc        0        0   nfe0
> > >
> > >     That should read 128/8, not 128.0/8.  It's mixing the core classes
> > >     with the CIDR specification.
> > >
> > >     Would you like to have a go at fixing that, too?
> >
> > Yeah, I've seen that too. I think that netstat should be teached
> > better regarding CIDR. I'll have a look at it during this week.
>
> Hi,
>
> I think this fixes netstat.

Committed.  Thanks!

Best Regards,
sephe

-- 
Live Free or Die



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