Unmask harmless destination port
This commit is contained in:
parent
d5b292c61d
commit
b32c1848be
|
@ -252,6 +252,6 @@ extension NETCPSocket {
|
||||||
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
|
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
|
||||||
return impl.endpoint.maskedDescription
|
return impl.endpoint.maskedDescription
|
||||||
}
|
}
|
||||||
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port.maskedDescription)"
|
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -238,6 +238,6 @@ extension NEUDPSocket {
|
||||||
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
|
guard let hostEndpoint = impl.endpoint as? NWHostEndpoint else {
|
||||||
return impl.endpoint.maskedDescription
|
return impl.endpoint.maskedDescription
|
||||||
}
|
}
|
||||||
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port.maskedDescription)"
|
return "\(hostEndpoint.hostname.maskedDescription):\(hostEndpoint.port)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue