diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-10-12 17:29:01 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-10-12 17:29:01 +0200 |
commit | 58e8841d635d617d2709a6454bc425f9aba96852 (patch) | |
tree | c4d0673a1371a332d80aaa6a749797412367f9e8 | |
parent | b21829f22bed555516f359a70a9e2e6687120f40 (diff) |
Fix error from market console
-rw-r--r-- | src/de/blinkt/openvpn/ConfigParser.java | 2 |
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); } } |