Nmap Development mailing list archives

[Patch] nping/NpingTargets.cc


From: Gisle Vanem <gvanem () broadpark no>
Date: Tue, 09 Apr 2013 23:06:39 +0200

The outError() function is gone it seems and replaced by
nping_warning(). Is there no nping_error()? So for me to link
nping.exe, I had to do this patch:

--- nping\NpingTargets.cc       Sun Mar 31 22:21:57 2013
+++ nping\NpingTargets.cc    Mon Apr 01 18:41:30 2013
@@ -279,7 +279,7 @@
                 }
#ifdef WIN32
                 if (rnfo.ii.device_type == devt_loopback){
- outError(QT_2, "Skipping %s because Windows does not allow localhost scans (try --unprivileged).", mytarget->getTargetIPstr() ); + nping_warning(QT_2, "Skipping %s because Windows does not allow localhost scans (try --unprivileged).", mytarget->getTargetIPstr() );
                       delete mytarget;
                       continue;
                 }

---------------

--gv

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


Current thread: