svn commit: r312279 - stable/11/usr.bin/netstat
Steven Hartland
smh at FreeBSD.org
Mon Jan 16 09:16:12 UTC 2017
Author: smh
Date: Mon Jan 16 09:16:11 2017
New Revision: 312279
URL: https://svnweb.freebsd.org/changeset/base/312279
Log:
MFC r311769:
Fix rstat: symbol not in namelist from netstat
Sponsored by: Multiplay
Modified:
stable/11/usr.bin/netstat/main.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.bin/netstat/main.c
==============================================================================
--- stable/11/usr.bin/netstat/main.c Mon Jan 16 09:12:40 2017 (r312278)
+++ stable/11/usr.bin/netstat/main.c Mon Jan 16 09:16:11 2017 (r312279)
@@ -427,6 +427,9 @@ main(int argc, char *argv[])
if (xflag && Tflag)
xo_errx(1, "-x and -T are incompatible, pick one.");
+ /* Load all necessary kvm symbols */
+ kresolve_list(nl);
+
if (Bflag) {
if (!live)
usage();
@@ -507,9 +510,6 @@ main(int argc, char *argv[])
exit(0);
}
- /* Load all necessary kvm symbols */
- kresolve_list(nl);
-
if (tp) {
xo_open_container("statistics");
printproto(tp, tp->pr_name, &first);
More information about the svn-src-stable
mailing list