From 37da7de31eaa921b4c33b723f8834a0440dcd93a 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 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); } } -- cgit v1.2.3