summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 00:25:44 +0000
committerassar <assar@FreeBSD.org>2001-06-15 00:25:44 +0000
commitea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c (patch)
tree4c8e50bedba0b4b6d215e040dc90818e756c7c91 /usr.bin/netstat/netstat.h
parent5f504c676b2624b656e970c104fbdb1b8bb95ce6 (diff)
downloadFreeBSD-src-ea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c.zip
FreeBSD-src-ea6e16bc20e4706c99c89ec7b7f3ab3be1791a4c.tar.gz
add the option -S for printing port numbers symbolically but addresses
numerically. clean up the CFLAGS in Makefile.
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index 997750c..8a817f4 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -45,7 +45,8 @@ extern int iflag; /* show interfaces */
extern int lflag; /* show routing table with use and ref */
extern int Lflag; /* show size of listen queues */
extern int mflag; /* show memory stats */
-extern int nflag; /* show addresses numerically */
+extern int numeric_addr; /* show addresses numerically */
+extern int numeric_port; /* show ports numerically */
extern int pflag; /* show given protocol */
extern int rflag; /* show routing tables (or routing stats) */
extern int sflag; /* show protocol statistics */
OpenPOWER on IntegriCloud