diff options
| author | Emīls <emils@mullvad.net> | 2021-12-06 17:08:51 +0000 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2021-12-10 09:58:51 +0000 |
| commit | 2967b7f29522e413994acd538e34d4637b8cf6b5 (patch) | |
| tree | 01fc2d99af6fdadc887ea1032ba7db8f5440dc7c /gui/src | |
| parent | 523089c5c5d4f9fecd2bf518a26216a8a0bd4e54 (diff) | |
| download | mullvadvpn-2967b7f29522e413994acd538e34d4637b8cf6b5.tar.xz mullvadvpn-2967b7f29522e413994acd538e34d4637b8cf6b5.zip | |
Rename option to 'allow_macos_connection_check'
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 4 | ||||
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 2 | ||||
| -rw-r--r-- | gui/src/shared/notifications/error.ts | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index 5e5424142d..a2416e9943 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -827,8 +827,8 @@ function convertFromTunnelStateErrorCause( } case grpcTypes.ErrorState.Cause.SPLIT_TUNNEL_ERROR: return { reason: 'split_tunnel_error' }; - case grpcTypes.ErrorState.Cause.CUSTOM_RESOLVER_ERROR: - return { reason: 'custom_resolver_error' }; + case grpcTypes.ErrorState.Cause.FILTERING_RESOLVER_ERROR: + return { reason: 'filtering_resolver_error' }; case grpcTypes.ErrorState.Cause.READ_SYSTEM_DNS_CONFIG: return { reason: 'read_system_dns_config' }; case grpcTypes.ErrorState.Cause.VPN_PERMISSION_DENIED: diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index ebe177c69b..300af97660 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -40,7 +40,7 @@ export type ErrorStateCause = | 'set_dns_error' | 'start_tunnel_error' | 'is_offline' - | 'custom_resolver_error' + | 'filtering_resolver_error' | 'read_system_dns_config' | 'split_tunnel_error'; } diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts index 73de3a9f90..22fd1858dc 100644 --- a/gui/src/shared/notifications/error.ts +++ b/gui/src/shared/notifications/error.ts @@ -138,11 +138,11 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string { 'notifications', "Your device is offline. Try connecting when it's back online.", ); - case 'custom_resolver_error': + case 'filtering_resolver_error': // TODO: Figure out a better error message to show to users return messages.pgettext( 'notifications', - "Failed to start custom resolver, check if there's a service running on port 53.", + ' Unable to activate macOS network check module. Close any programs that might be using port 53, or disable "Allow macOS network check".', ); case 'read_system_dns_config': // TODO: Figure out a better error message to show to users |
