From fe15009be63bd15f07acd4583b60c78438161fae Mon Sep 17 00:00:00 2001 From: Mygod Date: Fri, 29 May 2020 05:38:50 +0800 Subject: [PATCH] Fix building on incorrect target --- .../src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt index a9e90ad9..8b9e55cb 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetheringManager.kt @@ -249,7 +249,7 @@ object TetheringManager { val (localIPv4Address, clientAddress) = address setStaticIpv4Addresses(builder, localIPv4Address, clientAddress) } - build.invoke(this) + build.invoke(builder) } val proxy = Proxy.newProxyInstance(interfaceStartTetheringCallback.classLoader, arrayOf(interfaceStartTetheringCallback)) { proxy, method, args ->