patch-service_scan_cc 462 B

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