aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/route.8
diff options
context:
space:
mode:
authorGuy Helmer <ghelmer@FreeBSD.org>1999-05-04 18:41:32 +0000
committerGuy Helmer <ghelmer@FreeBSD.org>1999-05-04 18:41:32 +0000
commit78c6551783bb2641e913d0860412215fc9a32481 (patch)
treebf119d264b8102d111d6252633c900472972b36a /sbin/route/route.8
parent768229abb027cc505f41ac2b45ac1c0642a881af (diff)
downloadsrc-78c6551783bb2641e913d0860412215fc9a32481.tar.gz
src-78c6551783bb2641e913d0860412215fc9a32481.zip
Mention the special destination "default" for default routes. Fix a
couple of formatting bugs. PR: docs/9960
Notes
Notes: svn path=/head/; revision=46436
Diffstat (limited to 'sbin/route/route.8')
-rw-r--r--sbin/route/route.819
1 files changed, 15 insertions, 4 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 03b9a9722d6b..5577995e8301 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)route.8 8.3 (Berkeley) 3/19/94
-.\" $Id: route.8,v 1.11 1997/06/18 06:30:34 charnier Exp $
+.\" $Id: route.8,v 1.12 1998/07/28 06:25:33 charnier Exp $
.\"
.Dd March 19, 1994
.Dt ROUTE 8
@@ -149,8 +149,11 @@ and
force the destination to be interpreted as a network or a host, respectively.
Otherwise, if the
.Ar destination
-has a ``local address part'' of
-INADDR_ANY ,
+has a
+.Dq local address part
+of
+INADDR_ANY
+.Pq Li 0.0.0.0 ,
or if the
.Ar destination
is the symbolic name of a network, then the route is
@@ -172,6 +175,14 @@ and
is interpreted as
.Li 128.32.130.0 .
.Pp
+A
+.Ar destination
+of
+.Ar default
+is a synonym for
+.Fl net Li 0.0.0.0 ,
+which is the default route.
+.Pp
If the destination is directly reachable
via an interface requiring
no intermediary system to act as a gateway, the
@@ -297,7 +308,7 @@ If the gateway address used was not the primary address of the gateway
(the first one returned by
.Xr gethostbyname 3 ) ,
the gateway address is printed numerically as well as symbolically.
-.It Sy "delete [ host &| network ] %s: gateway %s flags %x"
+.It Sy "delete [ host \&| network ] %s: gateway %s flags %x"
As above, but when deleting an entry.
.It Sy "%s %s done"
When the