Set MTU value in Tunnel settings

This commit is contained in:
Jose Blaya 2020-01-13 19:56:09 +01:00 committed by Davide De Rosa
parent 1ceeb8ddbb
commit c22bfb3edd
1 changed files with 2 additions and 1 deletions

View File

@ -769,7 +769,8 @@ extension OpenVPNTunnelProvider: OpenVPNSessionDelegate {
newSettings.ipv6Settings = ipv6Settings
newSettings.dnsSettings = dnsSettings
newSettings.proxySettings = proxySettings
newSettings.mtu = NSNumber(value: cfg.mtu)
setTunnelNetworkSettings(newSettings, completionHandler: completionHandler)
}
}