aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoreuxane2024-09-18 23:41:13 +0200
committereuxane2024-09-18 23:41:13 +0200
commitf88d3d3a95c8b4305dffb4570656939f33c2d416 (patch)
treeaec22d17ac0c97f786567b6a9460796a5a764b2a /app
parenta8087ef1da41a7fcea27417433efb546c44c9b1d (diff)
downloadtincapp-f88d3d3a95c8b4305dffb4570656939f33c2d416.tar.gz
doctopic: configuration -> configuration-files
Diffstat (limited to 'app')
-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(