Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 06/04/1996 16:30:03
cgd
Tue Jun 4 16:22:25 EDT 1996
Update of /a/cvsroot/src/usr.bin/netstat
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv25197
Modified Files:
if.c
Log Message:
bump MAXIF (the maximum number of interfaces for which information is kept,
for 'netstat -w <delay>') to 100, from 10. 10 was definitely not sufficient
for many hosts; 100 should be for most if not all. This code really should
dynamically allocate the information structures, based on the number of
interfaces in the kernel, account for interfaces that are added or removed,
etc., but given its current structure that would require substantial changes.
cgd
Tue Jun 4 16:27:10 EDT 1996
Update of /a/cvsroot/src/usr.bin/netstat
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv25295
Revision/Branch: netbsd-1-2
Modified Files:
if.c
Log Message:
pull up changes from the trunk:
>if doing 'netstat -I <intf> -w <delay>', and netstat can't find an
>interface of the given name, print an error message and exit.
>This whole section of code needs to be re-thought, if interfaces
>can be dynamically added or removed.
and:
>bump MAXIF (the maximum number of interfaces for which information is kept,
>for 'netstat -w <delay>') to 100, from 10. 10 was definitely not sufficient
>for many hosts; 100 should be for most if not all. This code really should
>dynamically allocate the information structures, based on the number of
>interfaces in the kernel, account for interfaces that are added or removed,
>etc., but given its current structure that would require substantial changes.