catch other ipaddr errors as well

there are scenarios where we get a different ipaddr error
by catching these as well we generate correct behaviour still

MS-1875
This commit is contained in:
David Maloney 2016-08-12 12:57:14 -05:00
parent 02cb27bc81
commit 2bc3232dc6
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class Table
begin
IPAddr.new value
true
rescue IPAddr::InvalidAddressError
rescue IPAddr::Error
false
end
end