diff --git a/Sources/WireGuardKit/WireGuardAdapter.swift b/Sources/WireGuardKit/WireGuardAdapter.swift index 2cb236f..ff48f1b 100644 --- a/Sources/WireGuardKit/WireGuardAdapter.swift +++ b/Sources/WireGuardKit/WireGuardAdapter.swift @@ -56,7 +56,7 @@ public class WireGuardAdapter { } /// Returns a WireGuard version. - class var version: String { + class var backendVersion: String { return String(cString: wgVersion()) } diff --git a/Sources/WireGuardKit/WireGuardKit.swift b/Sources/WireGuardKit/WireGuardKit.swift deleted file mode 100644 index 64ad192..0000000 --- a/Sources/WireGuardKit/WireGuardKit.swift +++ /dev/null @@ -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 -}