[PATCH] netstat(1) should print CIDR prefixes

Matthew D. Fuller fullermd at over-yonder.net
Sun Feb 11 00:54:27 UTC 2007


On Sat, Feb 10, 2007 at 10:57:13PM +0000 I heard the voice of
Bruce M Simpson, and lo! it spake thus:
> 
> This is a POLA violating 'let's move with the times' patch that gets
> rid of the special treatment of classful IPv4 network prefixes in
> 'netstat -rn' output. Comments please!

Please!

1.2.3/24 is *wrong* when you're referring to 1.2.3.0/24 and not
1.2.0.3/24.  Talking netstat out of giving me that wrong information
is a Good Thing(tm).


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the freebsd-net mailing list