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
|
begin
|
||||||
IPAddr.new value
|
IPAddr.new value
|
||||||
true
|
true
|
||||||
rescue IPAddr::InvalidAddressError
|
rescue IPAddr::Error
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue