summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2020-11-27 15:08:23 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2020-11-27 15:08:23 +0000
commit82a4249d895eda5f9528b264c59073260bca7e15 (patch)
tree42fd341fcab275c6e03b5bde45769367c2d0f0a4 /share/man
parent525dcf5d4c358e0a11962865e88c54cc52466ea2 (diff)
tweak previous as suggested by jmc
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/wg.48
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4
index 56fef5eff41..6dcd697af2f 100644
--- a/share/man/man4/wg.4
+++ b/share/man/man4/wg.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wg.4,v 1.8 2020/11/27 14:49:54 sthen Exp $
+.\" $OpenBSD: wg.4,v 1.9 2020/11/27 15:08:22 sthen Exp $
.\" Copyright (c) 2020 Matt Dunwoodie <ncon@noconroy.net>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -124,8 +124,8 @@ will accept any random 32-byte base64 string.
When an interface has a private key set with
.Nm wgkey ,
the corresponding
-public key is shown in the status output of the interface, like so:
-.Bd -literal
+public key is shown in the status output of the interface:
+.Bd -literal -offset indent
# ifconfig wg1 | grep wgpubkey
wgpubkey NW5l2q2MArV5ZXpVXSZwBOyqhohOf8ImDgUB+jPtJps=
.Ed
@@ -136,7 +136,7 @@ interfaces in separate
.Xr rdomain 4 Ns s ,
which is of no practical use
but demonstrates two interfaces on the same machine:
-.Bd -literal
+.Bd -literal -offset indent
#!/bin/sh
# create interfaces; set random private keys