blob: c3b648464ff5a116873fcaf30f36dd8998945011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From e28c407f612877e750e6e5e1b92a8949275b7df0 Mon Sep 17 00:00:00 2001
From: Mike Kershaw / Dragorn <dragorn@kismetwireless.net>
Date: Thu, 16 Dec 2021 20:35:43 -0500
Subject: [PATCH] Fix compiling when pcre is not available
Fix compiling when pcre is not available
---
log_tools/kismetdb_to_wiglecsv.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/log_tools/kismetdb_to_wiglecsv.cc b/log_tools/kismetdb_to_wiglecsv.cc
index 8d4a8db68..5c79680c7 100644
--- a/log_tools/kismetdb_to_wiglecsv.cc
+++ b/log_tools/kismetdb_to_wiglecsv.cc
@@ -239,6 +239,9 @@ int main(int argc, char *argv[]) {
pcre *re;
pcre_extra *study;
+#else
+ pcre_filter(const std::string& in_regex) {}
+ bool match(const std::string& target) {return false;}
#endif
};
|