summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-23 11:58:23 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-23 11:58:23 +0100
commit5e3251dd4c5cd147186951420d1cab40734ad676 (patch)
tree1e156d50822d34d3fa6b77a955d89ff5c1193f46
parent03ebce3243da4f5a9be6ce8e86152e2b72fd9867 (diff)
Types Server: Fix Proxy peer doc
-rw-r--r--types/server/server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/types/server/server.go b/types/server/server.go
index 1beb8fb..260d328 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -163,7 +163,8 @@ type Proxy struct {
SourcePort int `json:"source_port"`
// Listen is the ip:port for the client UDP connection, this is the value that is replaced in the config
Listen string `json:"listen"`
- // Peer is the ip:port of the upstream server
+ // Peer is the URI of the upstream server
+ // Note that this exactly matches the "ProxyEndpoint" key in the WireGuard config
Peer string `json:"peer"`
}