summaryrefslogtreecommitdiff
path: root/src/se/leap/openvpn
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-12 20:36:26 +0100
committerParménides GV <parmegv@sdf.org>2013-11-21 21:46:30 +0100
commit18f7612ee584e6f3023d230698ab0bf8866cd2ec (patch)
tree64ef481c57db9d0c6df2b8a4b60c0455368bdd84 /src/se/leap/openvpn
parent5ac110f5963a7118f953bf264cf5bf9abed303b5 (diff)
In notification: s/hippo.bitmask.net/bitmask.net/
Diffstat (limited to 'src/se/leap/openvpn')
-rw-r--r--src/se/leap/openvpn/OpenVpnService.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/se/leap/openvpn/OpenVpnService.java b/src/se/leap/openvpn/OpenVpnService.java
index 620de204..5e5bf3d7 100644
--- a/src/se/leap/openvpn/OpenVpnService.java
+++ b/src/se/leap/openvpn/OpenVpnService.java
@@ -350,12 +350,13 @@ public class OpenVpnService extends VpnService implements StateListener, Callbac
bconfig[4] = getString(R.string.routes_info, joinString(mRoutes));
bconfig[5] = getString(R.string.routes_info6, joinString(mRoutesv6));
- String session = mProfile.mName;
+ String session = mProfile.mName.substring(mProfile.mName.indexOf(".")+1);
+ /* we don't want the IP address in the notification bar
if(mLocalIP!=null && mLocalIPv6!=null)
session = getString(R.string.session_ipv6string,session, mLocalIP, mLocalIPv6);
else if (mLocalIP !=null)
session= getString(R.string.session_ipv4string, session, mLocalIP);
-
+ */
builder.setSession(session);