diff --git a/TunnelKit/Sources/Core/SessionProxy+PushReply.swift b/TunnelKit/Sources/Core/SessionProxy+PushReply.swift index 2f29414..0d2a36c 100644 --- a/TunnelKit/Sources/Core/SessionProxy+PushReply.swift +++ b/TunnelKit/Sources/Core/SessionProxy+PushReply.swift @@ -62,7 +62,7 @@ public struct IPv4Settings: CustomStringConvertible { /// :nodoc: public var description: String { - return "{\(destination.maskedDescription)/\(mask.maskedDescription) \(gateway?.maskedDescription ?? "default")}" + return "{\(destination.maskedDescription)/\(mask) \(gateway?.maskedDescription ?? "default")}" } } @@ -82,7 +82,7 @@ public struct IPv4Settings: CustomStringConvertible { /// :nodoc: public var description: String { - return "addr \(address.maskedDescription) netmask \(addressMask.maskedDescription) gw \(defaultGateway.maskedDescription) routes \(routes.map { $0.maskedDescription })" + return "addr \(address.maskedDescription) netmask \(addressMask) gw \(defaultGateway.maskedDescription) routes \(routes.map { $0.maskedDescription })" } } @@ -111,7 +111,7 @@ public struct IPv6Settings: CustomStringConvertible { /// :nodoc: public var description: String { - return "{\(destination.maskedDescription)/\(prefixLength.maskedDescription) \(gateway?.maskedDescription ?? "default")}" + return "{\(destination.maskedDescription)/\(prefixLength) \(gateway?.maskedDescription ?? "default")}" } } @@ -131,7 +131,7 @@ public struct IPv6Settings: CustomStringConvertible { /// :nodoc: public var description: String { - return "addr \(address.maskedDescription)/\(addressPrefixLength.maskedDescription) gw \(defaultGateway.maskedDescription) routes \(routes.map { $0.maskedDescription })" + return "addr \(address.maskedDescription)/\(addressPrefixLength) gw \(defaultGateway.maskedDescription) routes \(routes.map { $0.maskedDescription })" } }