summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2004-06-06 16:55:32 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2004-06-06 16:55:32 +0000
commit26988a280f12eb6b5489e79481d75404a5199fd3 (patch)
treeee0a74d3e4ae86cbf32e079dc4cccdcd5f71aaba /usr.bin/netstat/netstat.h
parent9e25ab1fcd3c8a3b75b6ae3c7ca26a172a86d2e8 (diff)
Add new '-S' flag to display the source selector part of the routing table
entry. "netstat -nrSf inet". ok deraadt@ mcbride@
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 7c7a487110d..e7041800418 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netstat.h,v 1.27 2003/12/15 07:11:31 mcbride Exp $ */
+/* $OpenBSD: netstat.h,v 1.28 2004/06/06 16:55:31 cedric Exp $ */
/* $NetBSD: netstat.h,v 1.6 1996/05/07 02:55:05 thorpej Exp $ */
/*
@@ -49,6 +49,7 @@ int nflag; /* show addresses numerically */
int pflag; /* show given protocol */
int qflag; /* only display non-zero values for output */
int rflag; /* show routing tables (or routing stats) */
+int Sflag; /* show source address in routing table */
int sflag; /* show protocol statistics */
int tflag; /* show i/f watchdog timers */
int vflag; /* be verbose */