Use verified company gateway for authorized Tailscale nodes
This commit is contained in:
@@ -63,9 +63,8 @@ internal sealed partial class MainForm
|
||||
_checkingTailnetReadiness = true;
|
||||
try
|
||||
{
|
||||
if (_xray.TailnetProbeEndpoint is { } endpoint)
|
||||
reachable = await TailnetEndpointConfirmation.ProbeAsync(
|
||||
probeToken => TailnetTransport.ProbeEndpointAsync(endpoint.Address, endpoint.Port, probeToken), _lifetime.Token);
|
||||
reachable = await TailnetEndpointConfirmation.ProbeAsync(
|
||||
_xray.ProbeCurrentOrPreferredTailnetAsync, _lifetime.Token);
|
||||
}
|
||||
catch (OperationCanceledException) when (_lifetime.IsCancellationRequested) { return; }
|
||||
catch (Exception) { /* Fixed diagnostics below contain no credentials. */ }
|
||||
|
||||
Reference in New Issue
Block a user