mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
android: Import NAT-T keepalive interval
This commit is contained in:
parent
a2aa0ca0e4
commit
aa4b6eda59
@ -491,6 +491,7 @@ public class VpnProfileImportActivity extends AppCompatActivity
|
||||
}
|
||||
|
||||
profile.setMTU(getInteger(obj, "mtu", Constants.MTU_MIN, Constants.MTU_MAX));
|
||||
profile.setNATKeepAlive(getInteger(obj, "nat-keepalive", Constants.NAT_KEEPALIVE_MIN, Constants.NAT_KEEPALIVE_MAX));
|
||||
JSONObject split = obj.optJSONObject("split-tunneling");
|
||||
if (split != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user