mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
parse_nmap_service_probe_file cannot be static
This commit is contained in:
parent
87050f2a47
commit
6ba1799b22
1 changed files with 3 additions and 1 deletions
|
|
@ -1043,7 +1043,9 @@ void ServiceProbe::addMatch(const char *match, int lineno) {
|
|||
}
|
||||
|
||||
// Parses the given nmap-service-probes file into the AP class
|
||||
static void parse_nmap_service_probe_file(AllProbes *AP, char *filename) {
|
||||
/* Must NOT be static because I have externam maintenance tools (servicematch)
|
||||
which use this */
|
||||
void parse_nmap_service_probe_file(AllProbes *AP, char *filename) {
|
||||
ServiceProbe *newProbe;
|
||||
char line[2048];
|
||||
int lineno = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue