summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-service_scan_cc
blob: 39a91a8c887055e4b143ead1ac0354a5ffee13c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- nmap-6.40.orig/service_scan.cc	2013-07-29 00:08:48.000000000 +0200
+++ nmap-6.40/service_scan.cc	2013-10-05 11:24:37.000000000 +0200
@@ -1202,7 +1202,7 @@ bool ServiceProbe::portIsProbable(enum s
 
   portv = (tunnel == SERVICE_TUNNEL_SSL)? &probablesslports : &probableports;
   
-  if (find(portv->begin(), portv->end(), portno) == portv->end())
+  if (std::find(portv->begin(), portv->end(), portno) == portv->end())
     return false;
   return true;
 }