diff options
author | denis <denis@cvs.openbsd.org> | 2020-10-30 14:30:52 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2020-10-30 14:30:52 +0000 |
commit | 1d515c94837636a2b906363f62d92d5a3b96bccb (patch) | |
tree | ed777cc3d7c6c9df26122c78c941377d006b720a /sbin/route | |
parent | f3f99300c74d1d51f535825fa7365e54ca39513f (diff) |
Source address set can be printed
Diffstat (limited to 'sbin/route')
-rw-r--r-- | sbin/route/route.8 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8 index 87517f0cb1f..25965364033 100644 --- a/sbin/route/route.8 +++ b/sbin/route/route.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: route.8,v 1.92 2020/10/29 21:15:26 denis Exp $ +.\" $OpenBSD: route.8,v 1.93 2020/10/30 14:30:51 denis 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: October 29 2020 $ +.Dd $Mdocdate: October 30 2020 $ .Dt ROUTE 8 .Os .Sh NAME @@ -204,7 +204,7 @@ priority are shown. .Tg .Cm sourceaddr .Op Fl inet Ns | Ns Fl inet6 -.Ar address +.Op Ar address .Xc .It Xo .Ic route @@ -219,8 +219,11 @@ priority are shown. Set the preferred source address. If .Ar address -is the word "default", 0.0.0.0 or ::, source address will be chosen by -the kernel for the matching address family. +is the word "default", 0.0.0.0 or ::, source address will +be chosen by the kernel for the matching address family. +When +.Ar address +is omitted, preferred source address is printed if set. If .Fl ifp is used, source will use IP assigned to |