Page MenuHomeFreeBSD

wg(4): Fix an example in the manual page
ClosedPublic

Authored by gbe on Mar 7 2021, 6:27 PM.

Details

Summary

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>

Test Plan

mandoc output review and 'mandoc -Tlint' checks

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.