diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2020-10-31 06:49:43 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2020-10-31 06:49:43 +0000 |
commit | 02f6a66378e47d8e0319b8b73d1a994257923bbc (patch) | |
tree | d1067a8a5009380994deec68f439d555c929cf80 /share/man | |
parent | 92276b4744cb7179fd86bde4dfba54c92830ae89 (diff) |
reformat previous example; ok denis
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/hostname.if.5 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/share/man/man5/hostname.if.5 b/share/man/man5/hostname.if.5 index 9704bd3f906..0c33ee5d51e 100644 --- a/share/man/man5/hostname.if.5 +++ b/share/man/man5/hostname.if.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hostname.if.5,v 1.68 2020/10/30 16:47:08 denis Exp $ +.\" $OpenBSD: hostname.if.5,v 1.69 2020/10/31 06:49:42 jmc Exp $ .\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)hosts.5 8.2 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: October 30 2020 $ +.Dd $Mdocdate: October 31 2020 $ .Dt HOSTNAME.IF 5 .Os .Sh NAME @@ -215,16 +215,15 @@ It is worth noting that .Dq \e$if in a command line will be replaced by the interface name. .Pp -For example, you can use: -.Bd -literal -offset 1n +For example, +to set 192.0.2.1 and 2001:db8::1 as source IP addresses for +outgoing connections: +.Bd -literal -offset indent inet 192.0.2.1/32 inet6 2001:db8::1/128 up !route sourceaddr -ifp \e$if .Ed -.Pp -to set 192.0.2.1 and 2001:db8::1 as source IP addresses for -outgoing connections. .El .Sh DYNAMIC ADDRESS CONFIGURATION The following packed formats are valid for configuring network |