lib/dradis/plugins/nmap/field_processor.rb in dradis-nmap-3.13.0 vs lib/dradis/plugins/nmap/field_processor.rb in dradis-nmap-3.14.0

- old
+ new

@@ -39,10 +39,14 @@ if attribute # port.service.name # port.service.product # port.service.version if @nmap_object.service - @nmap_object.service.try(attribute) || 'n/a' + if attribute == 'tunnel' + @nmap_object.service.try(:ssl?) ? 'ssl' : 'n/a' + else + @nmap_object.service.try(attribute) || 'n/a' + end end else @nmap_object.try(name) || 'n/a' end end