android: Import NAT-T keepalive interval

This commit is contained in:
Tobias Brunner 2017-06-29 12:57:07 +02:00
parent a2aa0ca0e4
commit aa4b6eda59

View File

@ -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)
{