mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Makes m_serverIpAddress a shared pointer
This commit is contained in:
@@ -108,7 +108,7 @@ class RuleMessage {
|
||||
int m_ruleId;
|
||||
int m_ruleLine;
|
||||
bool m_saveMessage;
|
||||
std::string m_serverIpAddress;
|
||||
std::shared_ptr<std::string> m_serverIpAddress;
|
||||
int m_severity;
|
||||
std::string m_uriNoQueryStringDecoded;
|
||||
std::string m_ver;
|
||||
|
@@ -400,7 +400,7 @@ class Transaction : public TransactionAnchoredVariables {
|
||||
/**
|
||||
* Holds the server IP Address
|
||||
*/
|
||||
std::string m_serverIpAddress;
|
||||
std::shared_ptr<std::string> m_serverIpAddress;
|
||||
|
||||
/**
|
||||
* Holds the raw URI that was requested.
|
||||
|
Reference in New Issue
Block a user