[PATCH wireguard-tools] man: add documentation about removing explicit listen-port

Devin Smith thundza at gmail.com
Fri Dec 27 04:35:26 CET 2019


Signed-off-by: Devin Smith <thundza at gmail.com>
---
 src/man/wg.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/man/wg.8 b/src/man/wg.8
index ac281bc..07b9694 100644
--- a/src/man/wg.8
+++ b/src/man/wg.8
@@ -59,7 +59,7 @@ by \fICONFIGURATION FILE FORMAT\fP below.
 Sets configuration values for the specified \fI<interface>\fP. Multiple
 \fIpeer\fPs may be specified, and if the \fIremove\fP argument is given
 for a peer, that peer is removed, not configured. If \fIlisten-port\fP
-is not specified, the port will be chosen randomly when the
+is not specified, or set to 0, the port will be chosen randomly when the
 interface comes up. Both \fIprivate-key\fP and \fIpreshared-key\fP must
 be a files, because command line arguments are not considered private on
 most systems but if you are using
-- 
2.23.0



More information about the WireGuard mailing list