From 58e8841d635d617d2709a6454bc425f9aba96852 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 12 Oct 2012 17:29:01 +0200 Subject: Fix error from market console --- src/de/blinkt/openvpn/ConfigParser.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/de/blinkt') diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java index 2ee6061..3d20bc3 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); } } -- cgit v1.2.3