summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2023-03-15 22:39:59 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2023-03-15 22:39:59 +0000
commit072110a540f82c7471377303799c320d3e6bb769 (patch)
treea1b86113fab8fce2af8474c43b73098296c9bc76 /sbin
parentd723731f73c7d7bef3a17509d4376a0106f6dbe4 (diff)
tweak sourceaddr:
- remove "-inet|-inet6" as it is not generally meaningful - remove the qualifier "if set": sourceaddr now works nicely in cases where no "address is given
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.87
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 503453b70b4..e93954e2bbd 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: route.8,v 1.115 2023/03/07 10:58:39 kn Exp $
+.\" $OpenBSD: route.8,v 1.116 2023/03/15 22:39:58 jmc 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: March 7 2023 $
+.Dd $Mdocdate: March 15 2023 $
.Dt ROUTE 8
.Os
.Sh NAME
@@ -429,14 +429,13 @@ The mapping between letters and flags is:
.Op Fl T Ar rtable
.Tg
.Cm sourceaddr
-.Op Fl inet Ns | Ns Fl inet6
.Op Fl ifp Ar ifname
.Op Ar address
.Xc
Set the preferred source address.
If
.Ar address
-is omitted, the preferred source address is printed, if set.
+is omitted, the preferred source addresses are printed.
If
.Fl ifp
is used, the address assigned to the interface