summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-10-12 17:29:01 +0200
committerArne Schwabe <arne@rfc2549.org>2012-10-12 17:29:01 +0200
commit37da7de31eaa921b4c33b723f8834a0440dcd93a (patch)
tree2e661f4bf6346de00f0b39a777de6b7de4c2df5e
parentad0103151b148a6fd504a0bf90dff13d22868aaa (diff)
Fix error from market console
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java
index 2ee6061d..3d20bc31 100644
--- a/src/de/blinkt/openvpn/ConfigParser.java
+++ b/src/de/blinkt/openvpn/ConfigParser.java
@@ -274,6 +274,8 @@ public class ConfigParser {
routeopt+=cidr.toString() + " ";
} catch (ArrayIndexOutOfBoundsException aioob) {
throw new ConfigParseError("Could not parse netmask of route " + netmask);
+ } catch (NumberFormatException ne) {
+ throw new ConfigParseError("Could not parse netmask of route " + netmask);
}
}