summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-10-05 21:21:09 +0200
committercyBerta <cyberta@riseup.net>2019-10-05 23:31:07 +0200
commitb07bdead9919324113fc53c465dcc600f6fa222e (patch)
tree1bf9aa20d723b645f896000deae63259bc48b414 /app/src
parent9abc7355343f73e1cb5db8154fc81f676eea66ce (diff)
change flag iat-mode to iatMode for now - due to changed demo provider setup
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java2
-rw-r--r--app/src/test/resources/ptdemo.bitmask.eip-service.json2
-rw-r--r--app/src/test/resources/ptdemo_pt_tcp_udp.eip-service.json2
-rw-r--r--app/src/test/resources/ptdemo_pt_udp_tcp.eip-service.json2
-rw-r--r--app/src/test/resources/ptdemo_three_mixed_gateways.json4
5 files changed, 6 insertions, 6 deletions
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"
}
},
{