diff --git a/TunnelKit/Sources/AppExtension/Transport/NETCPInterface.swift b/TunnelKit/Sources/AppExtension/Transport/NETCPInterface.swift index d8b9e10..644dfac 100644 --- a/TunnelKit/Sources/AppExtension/Transport/NETCPInterface.swift +++ b/TunnelKit/Sources/AppExtension/Transport/NETCPInterface.swift @@ -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)" } } diff --git a/TunnelKit/Sources/AppExtension/Transport/NEUDPInterface.swift b/TunnelKit/Sources/AppExtension/Transport/NEUDPInterface.swift index 10bc331..e2ce285 100644 --- a/TunnelKit/Sources/AppExtension/Transport/NEUDPInterface.swift +++ b/TunnelKit/Sources/AppExtension/Transport/NEUDPInterface.swift @@ -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)" } }