]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
wg(4): Fix an example in the manual page
authorGordon Bergling <gbe@FreeBSD.org>
Sun, 7 Mar 2021 19:27:59 +0000 (20:27 +0100)
committerGordon Bergling <gbe@FreeBSD.org>
Thu, 11 Mar 2021 17:43:25 +0000 (18:43 +0100)
commitb97735743718e13ac8662930d7aa2cb2e495d563
treebbd57c6e43164a2ded48b19fcbad9cc59dd666f8
parentd174c32f66d6668921f3ba8bc91bde150fb1d882
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>
Reviewed by: debdrup
Differential Revision: https://reviews.freebsd.org/D29115

(cherry picked from commit f7bfe310191c8292da51c8da166a521ff16e0e46)
share/man/man4/wg.4