Fix incomplete builder() from Configuration
Adding a Configuration field is error-prone beyond reason...
This commit is contained in:
parent
ef82b86627
commit
5df614b5e2
|
@ -555,9 +555,12 @@ extension TunnelKitProvider.Configuration {
|
|||
*/
|
||||
public func builder() -> TunnelKitProvider.ConfigurationBuilder {
|
||||
var builder = TunnelKitProvider.ConfigurationBuilder(sessionConfiguration: sessionConfiguration)
|
||||
builder.prefersResolvedAddresses = prefersResolvedAddresses
|
||||
builder.resolvedAddresses = resolvedAddresses
|
||||
builder.mtu = mtu
|
||||
builder.shouldDebug = shouldDebug
|
||||
builder.debugLogFormat = debugLogFormat
|
||||
builder.masksPrivateData = masksPrivateData
|
||||
return builder
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue