summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/CIDRIP.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-02-05 09:49:06 +0100
committerArne Schwabe <arne@rfc2549.org>2013-02-05 09:49:06 +0100
commit1a65622af5d97bfcf56c84e90e40bfd0b214e43b (patch)
treed4ba0b20e995fd9cfc5030c3d889c2a963b10b73 /src/de/blinkt/openvpn/CIDRIP.java
parent84ccab8d6510835316b0a89085dae31801bd50dc (diff)
Fix Locale related errors/bugs. Update … to unicode replacement. Fix the speed display.
Diffstat (limited to 'src/de/blinkt/openvpn/CIDRIP.java')
-rw-r--r--src/de/blinkt/openvpn/CIDRIP.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/CIDRIP.java b/src/de/blinkt/openvpn/CIDRIP.java
index ccb3836a..d3939dfc 100644
--- a/src/de/blinkt/openvpn/CIDRIP.java
+++ b/src/de/blinkt/openvpn/CIDRIP.java
@@ -1,5 +1,7 @@
package de.blinkt.openvpn;
+import java.util.Locale;
+
class CIDRIP{
String mIp;
int len;
@@ -26,7 +28,7 @@ class CIDRIP{
}
@Override
public String toString() {
- return String.format("%s/%d",mIp,len);
+ return String.format(Locale.ENGLISH,"%s/%d",mIp,len);
}
public boolean normalise(){