mirror of
https://github.com/nmap/nmap.git
synced 2026-02-01 02:59:01 +00:00
removed unused ServiceProbe::setName and some TCPIP_DEBUGGING stuff
This commit is contained in:
@@ -851,11 +851,6 @@ ServiceProbe::~ServiceProbe() {
|
||||
if (fallbackStr) free(fallbackStr);
|
||||
}
|
||||
|
||||
void ServiceProbe::setName(const char *name) {
|
||||
if (probename) free(probename);
|
||||
probename = strdup(name);
|
||||
}
|
||||
|
||||
// Parses the "probe " line in the nmap-service-probes file. Pass the rest of the line
|
||||
// after "probe ". The format better be:
|
||||
// [TCP|UDP] [probename] q|probetext|
|
||||
|
||||
Reference in New Issue
Block a user