From 6ba1799b22d6f772881bb7ba1586c9bfdda96886 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 13 Jun 2006 02:05:06 +0000 Subject: [PATCH] parse_nmap_service_probe_file cannot be static --- service_scan.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service_scan.cc b/service_scan.cc index ac3a73e68..ae5f16eb5 100644 --- a/service_scan.cc +++ b/service_scan.cc @@ -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;