summaryrefslogtreecommitdiffstats
path: root/sbin/route
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>1999-05-04 18:41:32 +0000
committerghelmer <ghelmer@FreeBSD.org>1999-05-04 18:41:32 +0000
commitfe0b12fd7bd58b5a3d78ead12c62004e657d11fe (patch)
treed2a456ec9a6c908599432a5b584ab6777bcecdcc /sbin/route
parentb0fd1929e033e846d203ad1342a4b1ca1d7004e6 (diff)
downloadFreeBSD-src-fe0b12fd7bd58b5a3d78ead12c62004e657d11fe.zip
FreeBSD-src-fe0b12fd7bd58b5a3d78ead12c62004e657d11fe.tar.gz
Mention the special destination "default" for default routes. Fix a
couple of formatting bugs. PR: docs/9960
Diffstat (limited to 'sbin/route')
-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 03b9a97..5577995 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
OpenPOWER on IntegriCloud