Date: Wed, 12 Apr 1995 11:25:17 PDT From: Bill Fenner <fenner@parc.xerox.com> To: John Lind <john@starfire.mn.org> Cc: hackers@FreeBSD.org (FreeBSD hackers) Subject: Re: undocumented features of route and netstat in FreeBSD 2.0(-950322-SNAP) Message-ID: <95Apr12.112525pdt.49864@crevenia.parc.xerox.com> In-Reply-To: Your message of "Tue, 11 Apr 95 23:18:39 PDT." <199504120618.BAA02125@starfire.mn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sounds like netstat has the same bug that netstat -M had -- not printing out netmasks ends up making you guess what netmask is stored in the kernel, meaning that you will probably guess what you expect instead of what is there. Between the time that I discovered the bug and the time that we went to host routes for multicast, I printed out subnets as "x.y.z/n", where n is the number of 1-bits in the netmask. It adds at most 3 characters to the address, and perhaps a "/32" could be left off, to optimize for host-routes. If nobody does this by the time I get around to fixing netstat -M, I will do it. Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95Apr12.112525pdt.49864>
