summaryrefslogtreecommitdiffhomepage
path: root/tunnel/tools/libwg-go/api-android.go
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/tools/libwg-go/api-android.go')
-rw-r--r--tunnel/tools/libwg-go/api-android.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tunnel/tools/libwg-go/api-android.go b/tunnel/tools/libwg-go/api-android.go
index abbdf61a..cb3852ea 100644
--- a/tunnel/tools/libwg-go/api-android.go
+++ b/tunnel/tools/libwg-go/api-android.go
@@ -183,7 +183,8 @@ func wgTurnOn(interfaceName string, tunFd int32, settings string) int32 {
return i
}
-func wgDHCP(tunnelHandles int32) {
+//export wgDHCP
+func wgDHCP(tunnelHandle int32) {
handle, ok := tunnelHandles[tunnelHandle]
if !ok {
return