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 | 37da7de31eaa921b4c33b723f8834a0440dcd93a (patch) | |
tree | 2e661f4bf6346de00f0b39a777de6b7de4c2df5e /src/de/blinkt/openvpn | |
parent | ad0103151b148a6fd504a0bf90dff13d22868aaa (diff) |
Fix error from market console
Diffstat (limited to 'src/de/blinkt/openvpn')
-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); } } |