Nmap Development mailing list archives

[Patch] Two small fixes for nsedebug.print_hex


From: Chris Woodbury <woodbusy () gmail com>
Date: Wed, 20 Jul 2011 13:27:26 -0500

I have two small patches for nsedebug:

The first makes the comment for the print_hex function
luadoc-compatible, so that it will show up on the NSEdoc website.

The second fixes an issue with print_hex, where it would print an
unnecessary empty line if the length of the string was a multiple of
16. e.g.:
00000000 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50    ABCDEFGHIJKLMNOP
00000010
         Length: 16 [0x10]


-chris

Attachment: nsedebug_print_hex_empty_line.patch
Description:

Attachment: nsedebug_print_hex_luadoc.patch
Description:

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

Current thread: