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:
parent
02cb27bc81
commit
2bc3232dc6
|
@ -243,7 +243,7 @@ class Table
|
|||
begin
|
||||
IPAddr.new value
|
||||
true
|
||||
rescue IPAddr::InvalidAddressError
|
||||
rescue IPAddr::Error
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue