WireGuadKit: Rename WireGuardAdapter.version -> .backendVersion & remove `var wireGuardVersion` with WireGuardKit.swift

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov 2020-12-02 18:05:17 +01:00
parent 8976a53b05
commit 54a89f6a0e
2 changed files with 1 additions and 9 deletions

View File

@ -56,7 +56,7 @@ public class WireGuardAdapter {
}
/// Returns a WireGuard version.
class var version: String {
class var backendVersion: String {
return String(cString: wgVersion())
}

View File

@ -1,8 +0,0 @@
// SPDX-License-Identifier: MIT
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
import Foundation
public var wireGuardVersion: String {
return WireGuardAdapter.version
}