summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/OpenVPN.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2013-12-04 21:40:26 +0100
committercyBerta <richy@cyborgsociety.org>2013-12-04 21:40:26 +0100
commita651099981ddc9ed5c17a25b2bb618b161cec048 (patch)
treee7fc5efa9b2ac6848ccf3cca1a8e57cb03e970b8 /src/se/leap/openvpn/OpenVPN.java
parent853d2aac3a1b5f532695d8daa0cba2c4787d8aa7 (diff)
parent6f31f91a82f9822a34ae55c5275130d23be29f4b (diff)
Merge branch 'develop' of ssh://leap.se:22/bitmask_android into develop
Diffstat (limited to 'src/se/leap/openvpn/OpenVPN.java')
-rw-r--r--src/se/leap/openvpn/OpenVPN.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/se/leap/openvpn/OpenVPN.java b/src/se/leap/openvpn/OpenVPN.java
index d7d17b4f..8acdc423 100644
--- a/src/se/leap/openvpn/OpenVPN.java
+++ b/src/se/leap/openvpn/OpenVPN.java
@@ -25,6 +25,7 @@ public class OpenVPN {
private static String mLaststate;
private static int mLastStateresid=R.string.state_noprocess;
+ public static String TAG="se.leap.openvpn.OpenVPN";
static {
logbuffer = new LinkedList<LogItem>();
@@ -166,6 +167,8 @@ public class OpenVPN {
return R.string.state_resolve;
else if (state.equals("TCP_CONNECT"))
return R.string.state_tcp_connect;
+ else if (state.equals("FATAL"))
+ return R.string.eip_state_not_connected;
else
return R.string.unknown_state;
@@ -197,7 +200,7 @@ public class OpenVPN {
}
- public static void updateStateString (String state, String msg) {
+ public static void updateStateString (String state, String msg) {
int rid = getLocalizedState(state);
updateStateString(state, msg,rid);
}