Date: Thu, 11 Mar 2021 18:03:50 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2b1bcf70b4d1 - releng/13.0 - wg(4): Fix an example in the manual page Message-ID: <202103111803.12BI3oba091999@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=2b1bcf70b4d1a8ef62415cbb89890f08ae57a447 commit 2b1bcf70b4d1a8ef62415cbb89890f08ae57a447 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2021-03-07 19:27:59 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2021-03-11 18:02:51 +0000 wg(4): Fix an example in the manual page The example in the manual page of wg(4) for connecting to a peer was missing the 'public-key' ifconfig(8) keyword and for the addressed peer the port must be specified. PR: 253866 Reported by: Sergey Akhmatov <sergey at akhmatov dot ru> Approved by: re (gjb) Reviewed by: debdrup Differential Revision: https://reviews.freebsd.org/D29115 (cherry picked from commit f7bfe310191c8292da51c8da166a521ff16e0e46) --- share/man/man4/wg.4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man4/wg.4 b/share/man/man4/wg.4 index 2a13b98f45e9..760584e3a386 100644 --- a/share/man/man4/wg.4 +++ b/share/man/man4/wg.4 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 2, 2021 +.Dd March 7, 2021 .Dt WG 4 .Os .Sh NAME @@ -184,7 +184,7 @@ $ ifconfig wg0 | awk '/public-key/ { print $2 }'` .Pp Connect to a specific endpoint using its public-key and set the allowed IP address .Bd -literal -offset indent -# ifconfig wg0 peer '7lWtsDdqaGB3EY9WNxRN3hVaHMtu1zXw71+bOjNOVUw=' endpoint 10.0.1.100 allowed-ips 192.168.2.100/32 +# ifconfig wg0 peer public-key '7lWtsDdqaGB3EY9WNxRN3hVaHMtu1zXw71+bOjNOVUw=' endpoint 10.0.1.100:54321 allowed-ips 192.168.2.100/32 .Ed .Sh DIAGNOSTICS The
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103111803.12BI3oba091999>