From b07bdead9919324113fc53c465dcc600f6fa222e Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 5 Oct 2019 21:21:09 +0200 Subject: change flag iat-mode to iatMode for now - due to changed demo provider setup --- app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java | 2 +- app/src/test/resources/ptdemo.bitmask.eip-service.json | 2 +- app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json | 2 +- app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json | 2 +- app/src/test/resources/ptdemo_three_mixed_gateways.json | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java b/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java index d9bf5dd3..a62daca1 100644 --- a/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java +++ b/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java @@ -123,7 +123,7 @@ public class VpnConfigGenerator { private Obfs4Options getObfs4Options() throws JSONException { JSONObject transportOptions = obfs4Transport.getJSONObject(OPTIONS); - String iatMode = transportOptions.getString("iat-mode"); + String iatMode = transportOptions.getString("iatMode"); String cert = transportOptions.getString("cert"); String port = obfs4Transport.getJSONArray(PORTS).getString(0); String ip = gateway.getString(IP_ADDRESS); diff --git a/app/src/test/resources/ptdemo.bitmask.eip-service.json b/app/src/test/resources/ptdemo.bitmask.eip-service.json index e5ede239..15f85fca 100644 --- a/app/src/test/resources/ptdemo.bitmask.eip-service.json +++ b/app/src/test/resources/ptdemo.bitmask.eip-service.json @@ -16,7 +16,7 @@ ], "options": { "cert": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1", - "iat-mode": "0" + "iatMode": "0" } }, { diff --git a/app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json b/app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json index f39a1597..2c45e7a8 100644 --- a/app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json +++ b/app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json @@ -16,7 +16,7 @@ ], "options": { "cert": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "iat-mode": "0" + "iatMode": "0" } }, { diff --git a/app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json b/app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json index 71c9857a..1ae8cd32 100644 --- a/app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json +++ b/app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json @@ -16,7 +16,7 @@ ], "options": { "cert": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "iat-mode": "0" + "iatMode": "0" } }, { diff --git a/app/src/test/resources/ptdemo_three_mixed_gateways.json b/app/src/test/resources/ptdemo_three_mixed_gateways.json index f81da6b3..9b04cab4 100644 --- a/app/src/test/resources/ptdemo_three_mixed_gateways.json +++ b/app/src/test/resources/ptdemo_three_mixed_gateways.json @@ -16,7 +16,7 @@ ], "options": { "cert": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1", - "iat-mode": "0" + "iatMode": "0" } }, { @@ -51,7 +51,7 @@ ], "options": { "cert": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2", - "iat-mode": "0" + "iatMode": "0" } }, { -- cgit v1.2.3