diff options
Diffstat (limited to 'package/nmap/patches/patch-service_scan_cc')
-rw-r--r-- | package/nmap/patches/patch-service_scan_cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-service_scan_cc b/package/nmap/patches/patch-service_scan_cc new file mode 100644 index 000000000..39a91a8c8 --- /dev/null +++ b/package/nmap/patches/patch-service_scan_cc @@ -0,0 +1,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; + } |