summaryrefslogtreecommitdiff
path: root/share/man/man4/wg.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/wg.4')
-rw-r--r--share/man/man4/wg.47
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4
index a591312698c..56fef5eff41 100644
--- a/share/man/man4/wg.4
+++ b/share/man/man4/wg.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wg.4,v 1.7 2020/11/27 14:04:49 sthen Exp $
+.\" $OpenBSD: wg.4,v 1.8 2020/11/27 14:49:54 sthen Exp $
.\" Copyright (c) 2020 Matt Dunwoodie <ncon@noconroy.net>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -125,8 +125,9 @@ 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 -offset indent
-wgpubkey NW5l2q2MArV5ZXpVXSZwBOyqhohOf8ImDgUB+jPtJps=
+.Bd -literal
+# ifconfig wg1 | grep wgpubkey
+ wgpubkey NW5l2q2MArV5ZXpVXSZwBOyqhohOf8ImDgUB+jPtJps=
.Ed
.Sh EXAMPLES
Create two