summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-core/src/tunnel_state_machine/connecting_state.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/talpid-core/src/tunnel_state_machine/connecting_state.rs b/talpid-core/src/tunnel_state_machine/connecting_state.rs
index 6e561acc6b..44dcd9f153 100644
--- a/talpid-core/src/tunnel_state_machine/connecting_state.rs
+++ b/talpid-core/src/tunnel_state_machine/connecting_state.rs
@@ -422,6 +422,14 @@ impl TunnelState for ConnectingState {
),
),
) => ErrorStateCause::VpnPermissionDenied,
+ #[cfg(target_os = "android")]
+ tunnel::Error::WireguardTunnelMonitoringError(
+ tunnel::wireguard::Error::TunnelError(
+ tunnel::wireguard::TunnelError::SetupTunnelDeviceError(
+ tun_provider::Error::InvalidDnsServers(addresses),
+ ),
+ ),
+ ) => ErrorStateCause::InvalidDnsServers(addresses),
_ => ErrorStateCause::StartTunnelError,
};
ErrorState::enter(shared_values, block_reason)