Subject: CVS commit: src/sbin/route
To: None <source-changes@NetBSD.org>
From: Brian Ginsbach <ginsbach@netbsd.org>
List: source-changes
Date: 05/19/2005 15:05:11
Module Name: src
Committed By: ginsbach
Date: Thu May 19 15:05:11 UTC 2005
Modified Files:
src/sbin/route: route.c
Log Message:
Due to a limitation in inet_addr(3) it was not possible to specify a
netmask value of 0xffffffff (INADDR_NONE). Fix by using inet_aton(3).
Note it was possible to specify the same mask as the dotted quad
255.255.255.255 because of a later call to gethostbyname(3).
[From FreeBSD]
To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 src/sbin/route/route.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.