1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 12:49:02 +00:00

Fix another outError → nping_warning.

Apparently missed in r30691. Reported by Gisle Vanem.
http://seclists.org/nmap-dev/2013/q2/32

Recommitted after recovery from backup.
This commit is contained in:
david
2013-04-12 17:29:28 +00:00
parent a58e6d0f33
commit 67db6f0829

View File

@@ -279,7 +279,7 @@ int NpingTargets::processSpecs(){
} }
#ifdef WIN32 #ifdef WIN32
if (rnfo.ii.device_type == devt_loopback){ 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; delete mytarget;
continue; continue;
} }