Unmask harmless destination port

This commit is contained in:
Davide De Rosa 2018-11-05 15:48:34 +01:00
parent d5b292c61d
commit b32c1848be
2 changed files with 2 additions and 2 deletions

View File

@ -252,6 +252,6 @@ extension NETCPSocket {
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
return impl.endpoint.maskedDescription
}
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port.maskedDescription)"
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port)"
}
}

View File

@ -238,6 +238,6 @@ extension NEUDPSocket {
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
return impl.endpoint.maskedDescription
}
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port.maskedDescription)"
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port)"
}
}