Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-10] src/usr.bin/netstat
Module Name: src
Committed By: martin
Date: Thu Jan 12 12:07:23 UTC 2023
Modified Files:
src/usr.bin/netstat [netbsd-10]: if.c
Log Message:
Pull up following revision(s) (requested by mrg in ticket #42):
usr.bin/netstat/if.c: revision 1.109
if not given an interface to monitor by default, pick the one
with the most bytes in/out the first time and keep using it.
in addition to picking the most likely intersting interface,
this actually fixes a bug where interfaces coming/going in
the middle of eg, "netstat -b -w 1", may end up showing the
data for another interface on any output line (including the
the header declaring the interface!)
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.108.2.1 src/usr.bin/netstat/if.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index