aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
index 77d7e96..4194224 100644
--- a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
+++ b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt
@@ -95,7 +95,7 @@ class TincVpnService : VpnService() {
95 return reportError(resources.getString(R.string.notification_error_message_passphrase_not_provided)) 95 return reportError(resources.getString(R.string.notification_error_message_passphrase_not_provided))
96 96
97 if (!AppPaths.confDir(netName).exists()) 97 if (!AppPaths.confDir(netName).exists())
98 return reportError(resources.getString(R.string.notification_error_message_no_configuration_for_network_format, netName), docTopic = "configuration") 98 return reportError(resources.getString(R.string.notification_error_message_no_configuration_for_network_format, netName), docTopic = "configuration-files")
99 99
100 log.info("Starting tinc daemon for network \"$netName\".") 100 log.info("Starting tinc daemon for network \"$netName\".")
101 if (isConnected() || getCurrentNetName() != null) stopVpn().join() 101 if (isConnected() || getCurrentNetName() != null) stopVpn().join()
@@ -126,7 +126,7 @@ class TincVpnService : VpnService() {
126 return reportError( 126 return reportError(
127 resources.getString(R.string.notification_error_message_network_config_not_found_format, e.defaultMessage()), 127 resources.getString(R.string.notification_error_message_network_config_not_found_format, e.defaultMessage()),
128 e, 128 e,
129 docTopic = "configuration" 129 docTopic = "configuration-files"
130 ) 130 )
131 } catch (e: ConversionException) { 131 } catch (e: ConversionException) {
132 return reportError( 132 return reportError(