Nuke trailing spaces
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
1 parent
1fecd8eb6c
commit
7b9d4cb9e3
26 files changed
+173
-173
No files matched your search
@@ -62,7 +62,7 @@ class DNSResolver {
|
||||
extension DNSResolver {
|
||||
// Based on DNS resolution code by Jason Donenfeld <jason@zx2c4.com>
|
||||
// in parse_endpoint() in src/tools/config.c in the WireGuard codebase
|
||||
|
||||
|
||||
//swiftlint:disable:next cyclomatic_complexity
|
||||
private static func resolveSync(endpoint: Endpoint) -> Endpoint? {
|
||||
switch endpoint.host {
|
||||
|
||||
@@ -14,7 +14,7 @@ enum PacketTunnelProviderError: Error {
|
||||
}
|
||||
|
||||
class PacketTunnelProvider: NEPacketTunnelProvider {
|
||||
|
||||
|
||||
private var wgHandle: Int32?
|
||||
private var networkMonitor: NWPathMonitor?
|
||||
private var lastFirstInterface: NWInterface?
|
||||
|
||||
Reference in new issue
Block a user