From c9eafd82ac0cb1459be829ef215e6994f9708845 Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Wed, 2 Dec 2020 12:32:20 +0100 Subject: [PATCH] WireGuardKit: Fix import statements Signed-off-by: Andrej Mihajlov --- Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift | 2 +- Sources/WireGuardKitSwift/PrivateKey.swift | 2 +- Sources/WireGuardKitSwift/WireGuardAdapter.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift b/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift index f958fdd..e4fead3 100644 --- a/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift +++ b/Sources/WireGuardKitSwift/PacketTunnelSettingsGenerator.swift @@ -4,7 +4,7 @@ import Foundation import Network import NetworkExtension -import WireGuardKitCTarget +import WireGuardKitC class PacketTunnelSettingsGenerator { let tunnelConfiguration: TunnelConfiguration diff --git a/Sources/WireGuardKitSwift/PrivateKey.swift b/Sources/WireGuardKitSwift/PrivateKey.swift index 48dc3eb..14c298f 100644 --- a/Sources/WireGuardKitSwift/PrivateKey.swift +++ b/Sources/WireGuardKitSwift/PrivateKey.swift @@ -2,7 +2,7 @@ // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. import Foundation -import WireGuardKitCTarget +import WireGuardKitC /// The class describing a private key used by WireGuard. public class PrivateKey: _BaseKey { diff --git a/Sources/WireGuardKitSwift/WireGuardAdapter.swift b/Sources/WireGuardKitSwift/WireGuardAdapter.swift index a2c19ba..2e8df6f 100644 --- a/Sources/WireGuardKitSwift/WireGuardAdapter.swift +++ b/Sources/WireGuardKitSwift/WireGuardAdapter.swift @@ -3,7 +3,7 @@ import Foundation import NetworkExtension -import libwg_go +import WireGuardKitGo public enum WireGuardAdapterError: Error { /// Failure to locate tunnel file descriptor.