Subject: CVS commit: src/sbin/route
To: None <>
From: Brian Ginsbach <>
List: source-changes
Date: 08/15/2005 19:28:08
Module Name:	src
Committed By:	ginsbach
Date:		Mon Aug 15 19:28:08 UTC 2005

Modified Files:
	src/sbin/route: extern.h route.c

Log Message:
Make sure that a netmask socket address value prints appropriately when the
family is unset.  Either the destination or interface address socket address
family value is used.  This change prevents the following sort of output:

RTM_NEWADDR: address being added to iface: len 60, metric 0, flags:<UP>
sockaddrs: <NETMASK,IFA,BRD>
 (0) 00.00.ff.00.00

With this change the last line becomes:

Also make sure that when using a generated inet netmask the address family
is set.  With this change a generated netmask will print appropriately
when using the verbose (-v) option.

To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sbin/route/extern.h
cvs rdiff -r1.90 -r1.91 src/sbin/route/route.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.