Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Fix self-xref. Indent example displays.



details:   https://anonhg.NetBSD.org/src/rev/c468af80a151
branches:  trunk
changeset: 975061:c468af80a151
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 20 22:19:56 2020 +0000

description:
Fix self-xref.  Indent example displays.

diffstat:

 share/man/man4/wg.4 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 3ef0e26f5774 -r c468af80a151 share/man/man4/wg.4
--- a/share/man/man4/wg.4       Thu Aug 20 22:17:16 2020 +0000
+++ b/share/man/man4/wg.4       Thu Aug 20 22:19:56 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wg.4,v 1.1 2020/08/20 21:36:00 riastradh Exp $
+.\"    $NetBSD: wg.4,v 1.2 2020/08/20 22:19:56 riastradh Exp $
 .\"
 .\" Copyright (c) 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -51,7 +51,7 @@
 UDP.
 .Pp
 Every
-.Xr wg 4
+.Nm
 interface can be configured with an IP address using
 .Xr ifconfig 8 ,
 a private key generated with
@@ -70,7 +70,7 @@
 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .Sh EXAMPLES
 Typical network topology:
-.Bd -literal
+.Bd -literal -offset abcdefgh
 wm0 = 1.2.3.4                               bge0 = 4.3.2.1
 
 Stationary server:                         Roaming client:
@@ -90,7 +90,7 @@
 .Ed
 .Pp
 Generate key pairs on A and B:
-.Bd -literal
+.Bd -literal -offset abcdefgh
 A# wg-keygen > /etc/wireguard/wg0
 A# wg-keygen --pub < /etc/wireguard/wg0 > /etc/wireguard/wg0.pub
 A# cat /etc/wireguard/wg0.pub
@@ -104,7 +104,7 @@
 .Pp
 Configure A to listen on port 1234 and allow connections from B to
 appear in the 10.0.1.0/24 subnet:
-.Bd -literal
+.Bd -literal -offset abcdefgh
 A# ifconfig wg0 create 10.0.1.0/24
 A# wgconfig wg0 set private-key /etc/wireguard/wg0
 A# wgconfig wg0 set listen-port 1234
@@ -119,7 +119,7 @@
 .Pp
 Configure B to connect to A at 1.2.3.4 on port 1234 and the packets can
 begin to flow:
-.Bd -literal
+.Bd -literal -offset abcdefgh
 B# ifconfig wg0 create 10.0.1.1/24
 B# wgconfig wg0 set private-key /etc/wireguard/wg0
 B# wgconfig wg0 add peer A \e



Home | Main Index | Thread Index | Old Index