lib/igp/base.rb in igp-1.0.0 vs lib/igp/base.rb in igp-1.1.0

- old
+ new

@@ -31,12 +31,11 @@ @ping_handler = Net::Ping::UDP.new(@options[:host], @options[:port]) when :tcp @ping_handler = Net::Ping::TCP.new(@options[:host], @options[:port]) when :http, :https @ping_handler = Net::Ping::HTTP.new(@options[:url]) - # TODO: LDAP was retired from net-ping. to add back in one way or another - # when :ldap, :ldaps - # @ping_handler = Net::Ping::LDAP.new(@options[:url]) + when :ldap, :ldaps + @ping_handler = Net::Ping::LDAP.new(@options[:url]) end end # main routine to run a complete ping test def run