cvs commit: src/usr.bin/netstat route.c src UPDATING
Bruce M Simpson
bms at FreeBSD.org
Wed Feb 14 14:17:02 UTC 2007
bms 2007-02-14 14:17:01 UTC
FreeBSD src repository
Modified files:
usr.bin/netstat route.c
. UPDATING
Log:
Retire most of the classful network behaviour of netstat -r output, for IPv4.
Without -n, we now only print a "network name" without the prefix length
under the following conditions:
1) the network address and mask matches a classful network prefix;
2) getnetbyaddr(3) returns a network name for this network address.
With -n, we unconditionally print the full unabbreviated CIDR network
prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default".
This change is in preparation for changes such as equal-cost multipath, and
to more generally assist operational deployment of FreeBSD as a modern IPv4
router. There are currently no plans to backport this change.
Discussed on: freebsd-net
Revision Changes Path
1.473 +11 -0 src/UPDATING
1.81 +9 -52 src/usr.bin/netstat/route.c
More information about the cvs-src
mailing list