Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 15:37:16 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Tom Judge <tom@tomjudge.com>, Nuno Antunes <nuno.antunes@gmail.com>
Cc:        freebsd-net@freebsd.org, "Bruce M. Simpson" <bms@freebsd.org>
Subject:   Re: Strange behaviour of route command
Message-ID:  <20070917123715.GB2648@kobe.laptop>
In-Reply-To: <262949390709170313t649a40d2n5b0598a8bcc034a7@mail.gmail.com> <46EE4CC8.4000906@tomjudge.com>
References:  <20070910115636.GA8326@kobe.laptop> <46EE4CC8.4000906@tomjudge.com> <262949390709170313t649a40d2n5b0598a8bcc034a7@mail.gmail.com> <46E11515.8090007@tomjudge.com> <46E174DB.8070004@FreeBSD.org> <20070907185757.GA25624@kobe.laptop> <262949390709091803s507265e6mf3929c4dd26ecc56@mail.gmail.com> <20070910110528.GB2476@kobe.laptop> <20070910115636.GA8326@kobe.laptop> <46EE4CC8.4000906@tomjudge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-09-17 10:45, Tom Judge <tom@tomjudge.com> wrote:
>Giorgos Keramidas wrote:
>>On 2007-09-10 14:05, Giorgos Keramidas <keramida@freebsd.org> wrote:
>>>On 2007-09-10 02:03, Nuno Antunes <nuno.antunes@gmail.com> wrote:
>>>>>> Tom Judge wrote:
>>>>>>> Hi,
>>>>>>> While making some changes to the routing table on one of our routers
>>>>>>> today I noticed that "route add" was showing some strange
>>>>>>> behaviour. When adding a route for 128/8 to the table rather than
>>>>>>> adding 128.0.0.0/8 it would add 0.0.0.0/8, however adding 10/9 works
>>>>>>> correctly.
>>>>>>>
>>>>>>> Is this a bug in route or the routing table?
>>>>
>>>> Hi,
>>>> Can you take a look at this patch, please?
>>>>
>>>> http://leaf.dragonflybsd.org/mailarchive/submit/2007-09/msg00000.html
>>>
>>> Fantastic, thanks for the pointer! :-)
>
> Is there any chance of getting this commited, or should I raise a PR
> about this?

I'm not an src-committer, so we have to get an approval from Bruce
first, but the patch is saved in my online patch queue:

http://hg.hellug.gr/freebsd/src-keramida/file/08d313afdc9a/

The patch is the file called 'route'.

On 2007-09-17 11:13, Nuno Antunes <nuno.antunes@gmail.com> wrote:
> BTW, there's also a fix for netstat to print CIDR network addresses correctly:
> http://leaf.dragonflybsd.org/mailarchive/submit/2007-09/msg00005.html

Neat, yeah I noticed that too, while looking at the threads about
route/netstat.  I just came back from a trip and I will have some
time to see how much of it applies to FreeBSD's netstat too.

Thanks once more :)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070917123715.GB2648>