Subject: CVS commit: basesrc/sbin/route
To: None <source-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 10/24/2001 19:05:08
Module Name: basesrc
Committed By: atatat
Date: Wed Oct 24 16:05:07 UTC 2001
Modified Files:
basesrc/sbin/route: extern.h route.c show.c
Log Message:
Print a R on reject routes to indicate that they're not normal routes,
and check netmask (or prefix) length as well as the destination
address when determining if a route is a "default" or not. This means
that the output from 'route show' will no longer say:
Internet6:
Destination Gateway Flags
default localhost UG
default localhost UG
but instead
Internet6:
Destination Gateway Flags
::/104 localhost UGR
::/96 localhost UGR
which makes much more sense.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 basesrc/sbin/route/extern.h
cvs rdiff -r1.48 -r1.49 basesrc/sbin/route/route.c
cvs rdiff -r1.18 -r1.19 basesrc/sbin/route/show.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.