summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn/OpenVPN.java
diff options
context:
space:
mode:
authorcyBerta <richy@cyborgsociety.org>2013-11-26 04:46:42 +0100
committerParménides GV <parmegv@sdf.org>2013-12-04 16:00:48 +0100
commit1df0766479f0235bd7e2afcaecce1eaebacb9ffc (patch)
treef12756e2af7ad181c3f9c8704c5e1fdb14cb7052 /src/se/leap/openvpn/OpenVPN.java
parente60be47e5a46b794846b166993260f17a54a19ad (diff)
added FATAL as status for reconnection timout
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);
}