Nmap Development mailing list archives

Re: [nmap-svn] r24626 - in nmap: . nselib


From: "Luis MartinGarcia." <luis.mgarc () gmail com>
Date: Mon, 11 Jul 2011 13:40:15 +0200

On 07/05/2011 02:01 AM, commit-mailer () insecure org wrote:
Author: gorjan
Date: Mon Jul  4 17:01:35 2011
New Revision: 24626

Log:
Adding the NSE nmap.list_interfaces() function that lists all interfaces available to Nmap.

Modified:
   nmap/nse_nmaplib.cc
   nmap/nselib/nmap.luadoc

Hi Gorjan,

I've just tried to compile current SVN version of nmap (in a Fedora 14
i686 box) and I get the following warning:

nse_nmaplib.cc: In function ‘int l_list_interfaces(lua_State*)’:
nse_nmaplib.cc:774:19: warning: unused variable ‘numroutes’

Are you planning to use that "numroutes" variable in the future?
Otherwise, I think it would be great to remove it from the source code.

Regards,

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


Current thread: