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