summaryrefslogtreecommitdiffhomepage
path: root/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 16:06:56 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 16:06:56 +0200
commit1e45898d7035b5d617a3181cf1b6dfab8a10eae9 (patch)
tree6d4574252ab2a07ea51e6b836c92a9ee82f57756 /app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go
parent61431fb57946ce92f6fa613c4683ac95b75f02de (diff)
Settings: add version
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go')
-rw-r--r--app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go b/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go
index f5dae966..19063eec 100644
--- a/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go
+++ b/app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go
@@ -160,4 +160,9 @@ func wgGetSocketV6(tunnelHandle int32) int32 {
return fd
}
+//export wgVersion
+func wgVersion() string {
+ return WireGuardGoVersion
+}
+
func main() {}