From 24563b79d4ef41cdab82c74039d761d897a1f3d4 Mon Sep 17 00:00:00 2001 From: SaddyDEAD Date: Wed, 27 May 2026 22:59:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20src/main/kotlin/Server.kt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/Server.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/Server.kt b/src/main/kotlin/Server.kt index 0b09f9f..46f133c 100644 --- a/src/main/kotlin/Server.kt +++ b/src/main/kotlin/Server.kt @@ -8,7 +8,7 @@ import java.net.Socket import java.io.DataInputStream fun startServer(address: String, port: Int, tun: String, outIntefrace: String) = runBlocking { - val tun = TunDevice(address, "awake0") + val tun = TunDevice(address, tun) tun.addRoute() tun.enableIpForwarding() tun.enableMasquerade(outIntefrace)