aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-13 12:20:10 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-13 12:20:10 +0530
commit5ae9eec555f0e9c8fed99a8df87daf09a21d4179 (patch)
tree398bdbac08c08d68bb114ae1d7579fb258825a2f /WireGuard/WireGuardNetworkExtension
parentmv WireGuard/WireGuard/VPN/ WireGuard/WireGuard/Tunnel/ (diff)
downloadwireguard-apple-5ae9eec555f0e9c8fed99a8df87daf09a21d4179.tar.xz
wireguard-apple-5ae9eec555f0e9c8fed99a8df87daf09a21d4179.zip
Avoid using 'VPN' in code where possible
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuardNetworkExtension')
-rw-r--r--WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift
index 9b83297..3aab8a4 100644
--- a/WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift
+++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelSettingsGenerator.swift
@@ -83,7 +83,7 @@ class PacketTunnelSettingsGenerator {
let dnsServerStrings = tunnelConfiguration.interface.dns.map { $0.stringRepresentation() }
let dnsSettings = NEDNSSettings(servers: dnsServerStrings)
- dnsSettings.matchDomains = [""] // All DNS queries must first go through the VPN's DNS
+ dnsSettings.matchDomains = [""] // All DNS queries must first go through the tunnel's DNS
networkSettings.dnsSettings = dnsSettings
let mtu = tunnelConfiguration.interface.mtu ?? 0