You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
744 B
25 lines
744 B
# see https://github.com/owasp-modsecurity/ModSecurity/issues/2254
|
|
--- src/utils/geo_lookup.h.orig
|
|
+++ src/utils/geo_lookup.h
|
|
@@ -50,7 +50,7 @@
|
|
void cleanUp();
|
|
|
|
bool lookup(const std::string& target, Transaction *transaction,
|
|
- std::function<bool(int, const std::string &)> debug) const;
|
|
+ std::function<bool(int, const std::string &)> debug);
|
|
|
|
private:
|
|
GeoLookup() :
|
|
--- src/utils/geo_lookup.cc.orig
|
|
+++ src/utils/geo_lookup.cc
|
|
@@ -113,7 +113,7 @@
|
|
|
|
|
|
bool GeoLookup::lookup(const std::string& target, Transaction *trans,
|
|
- std::function<bool(int, const std::string &)> debug) const {
|
|
+ std::function<bool(int, const std::string &)> debug) {
|
|
|
|
if (m_version == NOT_LOADED) {
|
|
if (debug) {
|
|
|