# File lib/nmap/parser.rb, line 390
        def scan_type_proto(type)
                @scaninfo.each do |info|
                        return info.proto if info.type == type
                end

                nil
        end