# File lib/nmap/parser.rb, line 658 def udp_reason(portnum) port = udp_port(portnum) return nil if port.nil? port.reason end