summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-09-29 14:18:32 +0200
committerDavid Lönnhager <david.l@mullvad.net>2020-11-24 18:50:04 +0100
commit687f4e87b33c195b2b78eccd26a02a1567660d06 (patch)
tree29390840d584a68fb9075dc5a99cd1b3555a45bf /gui/src/shared
parent5e56bfe1e7990bdd1cd2c294f97689738cdebb3e (diff)
downloadmullvadvpn-687f4e87b33c195b2b78eccd26a02a1567660d06.tar.xz
mullvadvpn-687f4e87b33c195b2b78eccd26a02a1567660d06.zip
Find virtual adapter dynamically
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/daemon-rpc-types.ts2
-rw-r--r--gui/src/shared/notifications/error.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts
index bac978f7d6..95d8758088 100644
--- a/gui/src/shared/daemon-rpc-types.ts
+++ b/gui/src/shared/daemon-rpc-types.ts
@@ -38,7 +38,7 @@ export type ErrorStateCause =
| 'set_dns_error'
| 'start_tunnel_error'
| 'is_offline'
- | 'tap_adapter_problem';
+ | 'virtual_adapter_problem';
}
| { reason: 'set_firewall_policy_error'; details: FirewallPolicyError }
| { reason: 'tunnel_parameter_error'; details: TunnelParameterError }
diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts
index d9fd12de1a..672dc27b94 100644
--- a/gui/src/shared/notifications/error.ts
+++ b/gui/src/shared/notifications/error.ts
@@ -117,10 +117,10 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string {
'notifications',
"Your device is offline. Try connecting when it's back online.",
);
- case 'tap_adapter_problem':
+ case 'virtual_adapter_problem':
return messages.pgettext(
'notifications',
- 'Unable to detect a working TAP adapter on this device. Try enabling it. Otherwise, please reinstall the app.',
+ 'Unable to detect a working virtual adapter on this device. Try enabling it. Otherwise, please reinstall the app.',
);
}
}