macOS: remove mobile network tweeks

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2019-01-22 13:09:38 +01:00
parent 557b093232
commit 668c4a475c
4 changed files with 22 additions and 2 deletions
@@ -107,6 +107,7 @@ class DNSResolver {
extension Endpoint {
func withReresolvedIP() -> Endpoint {
#if os(iOS)
var ret = self
let hostname: String
switch host {
@@ -148,5 +149,10 @@ extension Endpoint {
wg_log(.debug, message: "DNS64: mapped \(host) to itself.")
}
return ret
#elseif os(macOS)
return self
#else
#error("Unimplemented")
#endif
}
}