aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2017-07-04 18:51:57 +0200
committerPacien TRAN-GIRARD2017-07-04 18:51:57 +0200
commit80394001852e8400fd2c3d30e441306957d32243 (patch)
tree6835941520e9fc0e63324bb42eb08a4b6d50f746 /app/src/main/java/org/pacien/tincapp/commands/Tinc.kt
parent0b3eef56d244bf40598cba66b1e48479ecbdfaef (diff)
downloadtincapp-80394001852e8400fd2c3d30e441306957d32243.tar.gz
Add status activity
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/commands/Tinc.kt')
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/Tinc.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt
index 22cbe71..e8ebb21 100644
--- a/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt
+++ b/app/src/main/java/org/pacien/tincapp/commands/Tinc.kt
@@ -30,7 +30,7 @@ object Tinc {
30 } 30 }
31 31
32 @Throws(IOException::class) 32 @Throws(IOException::class)
33 fun dumpNodes(netName: String, reachable: Boolean): List<String> = 33 fun dumpNodes(netName: String, reachable: Boolean = false): List<String> =
34 Executor.call( 34 Executor.call(
35 if (reachable) newCommand(netName).withArguments("dump", "reachable", "nodes") 35 if (reachable) newCommand(netName).withArguments("dump", "reachable", "nodes")
36 else newCommand(netName).withArguments("dump", "nodes")) 36 else newCommand(netName).withArguments("dump", "nodes"))