summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-07-12 17:11:30 +0000
committerhrs <hrs@FreeBSD.org>2013-07-12 17:11:30 +0000
commit459d12c7d5472343947dc3ef6e2fdd1dbeaa90fe (patch)
treecc8c844f0ab01df9879e9774f2a68a8ddd9cce8f /usr.bin/netstat/netstat.1
parent31c93835352cf3edf67a00b69795f395ef56c8c4 (diff)
downloadFreeBSD-src-459d12c7d5472343947dc3ef6e2fdd1dbeaa90fe.zip
FreeBSD-src-459d12c7d5472343947dc3ef6e2fdd1dbeaa90fe.tar.gz
Add -F fibnum option to specify an FIB number for -r flag.
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.123
1 files changed, 19 insertions, 4 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index c52340a..0a37994 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -28,7 +28,7 @@
.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd March 10, 2013
+.Dd May 17, 2013
.Dt NETSTAT 1
.Os
.Sh NAME
@@ -217,14 +217,29 @@ states.
.Nm
.Fl r
.Op Fl AanW
+.Op Fl F Ar fibnum
.Op Fl f Ar address_family
.Op Fl M Ar core
.Op Fl N Ar system
.Ek
.Xc
-Display the contents of all routing tables,
-or a routing table for a particular
-.Ar address_family .
+Display the contents of routing tables.
+When
+.Fl f
+is specified, a routing table for a particular
+.Ar address_family
+is displayed.
+When
+.Fl F
+is specified, a routing table with the number
+.Ar fibnum
+is displayed.
+If the specified
+.Ar fibnum
+is -1 or
+.Fl F
+is not specified,
+the default routing table is displayed.
If
.Fl A
is also present,
OpenPOWER on IntegriCloud