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

                nil
        end