summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/ConfigParser.java
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
commit58e8841d635d617d2709a6454bc425f9aba96852 (patch)
treec4d0673a1371a332d80aaa6a749797412367f9e8 /src/de/blinkt/openvpn/ConfigParser.java
parentb21829f22bed555516f359a70a9e2e6687120f40 (diff)
Fix error from market console
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigParser.java')
-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);
}
}