diff options
author | Parménides GV <parmegv@sdf.org> | 2013-12-04 17:24:42 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-12-04 17:24:42 +0100 |
commit | 90732260daaba438f49e510ed987284bcb419f4d (patch) | |
tree | ee30a40be65e993a9f886b47fd57d41717bf4222 /src/se/leap/openvpn/OpenVPN.java | |
parent | dc417fbfc67d8edaad58effde3a6a73fbeeab1da (diff) | |
parent | d004c5535c75540600d6670e86300872651fc7bf (diff) |
Merge branch 'bug/fix-switch-provider' into develop
Diffstat (limited to 'src/se/leap/openvpn/OpenVPN.java')
-rw-r--r-- | src/se/leap/openvpn/OpenVPN.java | 5 |
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); } |