Nmap Development mailing list archives

Re: [NSE] [PATCH] Fix for stdnse.format_output()


From: David Fifield <david () bamsoftware com>
Date: Fri, 12 Nov 2010 22:56:17 -0800

On Tue, Nov 09, 2010 at 08:30:17PM -0600, Ron wrote:
This is a pretty small change, but stdnse.format_output() is pretty
important so I don't want to risk completely breaking it. 

Basically, this fixes a bug where the 'name' or 'warning' fields
wouldn't be displayed for top-level data. It moves the
'name'/'warning' checks to the top of the function, before the tables
start being processed. I believe it works, but I'd like to get a
second opinion:

It looks right to me.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: