From 78c6551783bb2641e913d0860412215fc9a32481 Mon Sep 17 00:00:00 2001 From: Guy Helmer Date: Tue, 4 May 1999 18:41:32 +0000 Subject: [PATCH] Mention the special destination "default" for default routes. Fix a couple of formatting bugs. PR: docs/9960 --- sbin/route/route.8 | 19 +++++++++++++++---- 1 file 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