Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/usr.bin/netstat



Module Name:    src
Committed By:   martin
Date:           Mon Sep 12 14:23:41 UTC 2022

Modified Files:
        src/usr.bin/netstat [netbsd-9]: atalk.c bpf.c fast_ipsec.c if.c inet.c
            inet6.c main.c mbuf.c mroute.c mroute6.c netstat.1 netstat.h
            pfkey.c pfsync.c route.c unix.c vtw.c

Log Message:
Pull up the following, requested by msaitoh in ticket #1522:

        usr.bin/netstat/atalk.c         1.18,1.20-1.21
        usr.bin/netstat/bpf.c           1.16 via patch
        usr.bin/netstat/fast_ipsec.c    1.24
        usr.bin/netstat/if.c            1.97-1.99,1.101-1.104 via patch
        usr.bin/netstat/inet.c          1.111,1.115-1.116 via patch
        usr.bin/netstat/inet6.c         1.74-1.75,1.80-1.81 via patch
        usr.bin/netstat/main.c          1.100-1.103
        usr.bin/netstat/mbuf.c          1.35
        usr.bin/netstat/mroute.c        1.26-1.27
        usr.bin/netstat/mroute6.c       1.16
        usr.bin/netstat/netstat.h       1.52-1.53
        usr.bin/netstat/pfkey.c         1.4-1.5 via patch
        usr.bin/netstat/pfsync.c        1.4-1.5 via patch
        usr.bin/netstat/route.c         1.86-1.88
        usr.bin/netstat/unix.c          1.36-1.37
        usr.bin/netstat/vtw.c           1.11,1.13

- sprintf() -> snprintf(), and adjust a buffer size to avoid any
  potential for overflow.
- Fix netstat -rs to print it correctly.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
  if the feature isn't enabled.
- Print oqdrops correctly.
- Remove Network ATM soft intr queue reporting, we don't have that
  in the kernel anymore.
- netstat.1: Add various xrefs present in the body to "See Also".
- KNF. Style fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.16.18.1 -r1.16.18.2 src/usr.bin/netstat/atalk.c
cvs rdiff -u -r1.13.4.1 -r1.13.4.2 src/usr.bin/netstat/bpf.c
cvs rdiff -u -r1.22.8.1 -r1.22.8.2 src/usr.bin/netstat/fast_ipsec.c
cvs rdiff -u -r1.95 -r1.95.2.1 src/usr.bin/netstat/if.c
cvs rdiff -u -r1.109.2.1 -r1.109.2.2 src/usr.bin/netstat/inet.c
cvs rdiff -u -r1.72.2.1 -r1.72.2.2 src/usr.bin/netstat/inet6.c
cvs rdiff -u -r1.99 -r1.99.18.1 src/usr.bin/netstat/main.c
cvs rdiff -u -r1.34 -r1.34.2.1 src/usr.bin/netstat/mbuf.c
cvs rdiff -u -r1.25 -r1.25.18.1 src/usr.bin/netstat/mroute.c
cvs rdiff -u -r1.15 -r1.15.18.1 src/usr.bin/netstat/mroute6.c
cvs rdiff -u -r1.73 -r1.73.18.1 src/usr.bin/netstat/netstat.1
cvs rdiff -u -r1.51 -r1.51.18.1 src/usr.bin/netstat/netstat.h
cvs rdiff -u -r1.1.44.1 -r1.1.44.2 src/usr.bin/netstat/pfkey.c
cvs rdiff -u -r1.1.48.1 -r1.1.48.2 src/usr.bin/netstat/pfsync.c
cvs rdiff -u -r1.85 -r1.85.18.1 src/usr.bin/netstat/route.c
cvs rdiff -u -r1.35 -r1.35.16.1 src/usr.bin/netstat/unix.c
cvs rdiff -u -r1.10 -r1.10.4.1 src/usr.bin/netstat/vtw.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