lib/nmap/os.rb in ruby-nmap-0.9.2 vs lib/nmap/os.rb in ruby-nmap-0.9.3

- old
+ new

@@ -107,10 +107,10 @@ # # @return [String] # The OS fingerprint. # def fingerprint - @fingerprint ||= if (fingerprint = @node.at("osfingerprint/@fingerprint")) + @fingerprint ||= if (fingerprint = @node.at_xpath("osfingerprint/@fingerprint")) fingerprint.inner_text end end #