Maint: WIREGUARD_PORT to WIREGUARD_ENDPOINT_PORT
This commit is contained in:
@@ -53,7 +53,7 @@ func getWireguardConnection(selection configuration.ServerSelection) (
|
||||
}
|
||||
}
|
||||
|
||||
// Port found is overridden by custom port set with `PORT` or `WIREGUARD_PORT`.
|
||||
// Port found is overridden by custom port set with `PORT` or `WIREGUARD_ENDPOINT_PORT`.
|
||||
func getPort(foundPort uint16, selection configuration.ServerSelection) (port uint16) {
|
||||
return utils.GetPort(selection, foundPort, foundPort, foundPort)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user