aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-06-08 09:07:34 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-06-08 09:07:34 +0000
commit1b33d61d20ed07af6cbba36d6488745fb96291d6 (patch)
treefe9bbad640c0ac90e4d0b598d262cca2dfd88d73 /sbin/route/route.8
parent0c80bc97b866f8eace936ff720a4582608bf18fd (diff)
downloadsrc-1b33d61d20ed07af6cbba36d6488745fb96291d6.tar.gz
src-1b33d61d20ed07af6cbba36d6488745fb96291d6.zip
Change the host/bits syntax introduced in route.c,v 1.24 to the
net/bits syntax, for consistency with netstat(1) in particular. OK'ed by: phk MFC after: 1 week
Notes
Notes: svn path=/head/; revision=77904
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.86
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 5e67f44078fc..a6d8b72706e3 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -168,7 +168,7 @@ route to a host.
Optionally, the
.Ar destination
could also be specified in the
-.Ar host Ns / Ns Ar bits
+.Ar net Ns / Ns Ar bits
format.
.Pp
For example,
@@ -185,9 +185,9 @@ is interpreted as
is interpreted as
.Li 128.32.130.0;
and
-.Li 192.168.0.0/16
+.Li 192.168.64/20
is interpreted as
-.Li 192.168.0.0 Fl netmask Li 255.255.0.0 .
+.Fl net Li 192.168.64 Fl netmask Li 255.255.240.0 .
.Pp
A
.Ar destination