Makes m_clientIpAddress a shared pointer

This commit is contained in:
Felipe Zimmerle
2019-01-22 14:52:18 -03:00
parent ffa8fd1bfc
commit f06df087a7
4 changed files with 8 additions and 8 deletions

View File

@@ -92,7 +92,7 @@ class RuleMessage {
static std::string _errorLogTail(const RuleMessage *rm);
int m_accuracy;
std::string m_clientIpAddress;
std::shared_ptr<std::string> m_clientIpAddress;
std::string m_data;
std::string m_id;
bool m_isDisruptive;

View File

@@ -386,7 +386,7 @@ class Transaction : public TransactionAnchoredVariables {
/**
* Holds the client IP address.
*/
std::string m_clientIpAddress;
std::shared_ptr<std::string> m_clientIpAddress;
/**
* Holds the HTTP version: 1.2, 2.0, 3.0 and so on....