From 1e45898d7035b5d617a3181cf1b6dfab8a10eae9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 1 Jun 2018 16:06:56 +0200 Subject: Settings: add version Signed-off-by: Jason A. Donenfeld --- app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/tools/libwg-go/src/git.zx2c4.com/wireguard-go/api-android.go') 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() {} -- cgit v1.2.3