From 2bc3232dc68ab7e97ed0be3d05434e37ae08ef3b Mon Sep 17 00:00:00 2001 From: David Maloney Date: Fri, 12 Aug 2016 12:57:14 -0500 Subject: [PATCH] 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 --- lib/rex/text/table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/text/table.rb b/lib/rex/text/table.rb index cd44cb8..4c285cf 100644 --- a/lib/rex/text/table.rb +++ b/lib/rex/text/table.rb @@ -243,7 +243,7 @@ class Table begin IPAddr.new value true - rescue IPAddr::InvalidAddressError + rescue IPAddr::Error false end end