aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-31 04:02:36 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-31 04:08:13 +0100
commit9f5612f93f2661a0369c8662394b8f8a35341e27 (patch)
tree054f61245c4b18dbfc64b49d0d34bb2d9a866242 /WireGuard/WireGuard
parentwireguard-go-bridge: simplify logging and remove tags (diff)
downloadwireguard-apple-9f5612f93f2661a0369c8662394b8f8a35341e27.tar.xz
wireguard-apple-9f5612f93f2661a0369c8662394b8f8a35341e27.zip
wireguard-go-bridge: extract version for consumption by network extension
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift2
-rw-r--r--WireGuard/WireGuard/WireGuard-Bridging-Header.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
index 027286e..edb3a60 100644
--- a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift
@@ -134,7 +134,7 @@ extension SettingsTableViewController {
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown version"
cell.value = appVersion
} else if (field == .goBackendVersion) {
- cell.value = "TODO"
+ cell.value = WIREGUARD_GO_VERSION
}
return cell
} else {
diff --git a/WireGuard/WireGuard/WireGuard-Bridging-Header.h b/WireGuard/WireGuard/WireGuard-Bridging-Header.h
index 61ddc07..4fe53a7 100644
--- a/WireGuard/WireGuard/WireGuard-Bridging-Header.h
+++ b/WireGuard/WireGuard/WireGuard-Bridging-Header.h
@@ -1,7 +1,4 @@
-//
-// Use this file to import your target's public headers that you would like to expose to Swift.
-//
-
#include "x25519.h"
#include "unzip.h"
#include "zip.h"
+#include "wireguard-go-version.h"