summaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-09-21 10:58:24 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-09-21 10:58:24 +0000
commit2dfc5cb4c55830a2180e3af48ba149914ac07e14 (patch)
tree6c8be48c29702e4115c37317927ac22b559f5156 /sbin/route/route.8
parent0c0c16e7ee7846037334db6c1efa72287e50a921 (diff)
Add '-label' to specify that you only want to see routes having the
given label. No change to existing functionality. ok henning@ claudio@
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.89
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 0a31332a273..6ba06d64f7f 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.8,v 1.64 2009/12/20 15:35:13 deraadt Exp $
+.\" $OpenBSD: route.8,v 1.65 2010/09/21 10:58:23 krw Exp $
.\" $NetBSD: route.8,v 1.6 1995/03/18 15:00:13 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)route.8 8.3 (Berkeley) 3/19/94
.\"
-.Dd $Mdocdate: December 20 2009 $
+.Dd $Mdocdate: September 21 2010 $
.Dt ROUTE 8
.Os
.Sh NAME
@@ -165,6 +165,7 @@ are shown.
.Cm show
.Op Ar family
.Op Fl gateway
+.Op Fl label Ar label
.Xc
Print out the route table similar to "netstat -r" (see
.Xr netstat 1 ) .
@@ -173,6 +174,10 @@ If
.Fl gateway
is specified, only routes whose gateway are in the
same address family as the destination are shown.
+.Pp
+If
+.Fl label
+is specified, only routes with the specified label are shown.
.El
.Pp
The other commands relating to adding, changing, or deleting routes