mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Makes m_clientIpAddress a shared pointer
This commit is contained in:
@@ -65,7 +65,7 @@ std::string RuleMessage::log(const RuleMessage *rm, int props, int code) {
|
||||
std::string msg("");
|
||||
|
||||
if (props & ClientLogMessageInfo) {
|
||||
msg.append("[client " + std::string(rm->m_clientIpAddress) + "] ");
|
||||
msg.append("[client " + std::string(*rm->m_clientIpAddress.get()) + "] ");
|
||||
}
|
||||
|
||||
if (rm->m_isDisruptive) {
|
||||
|
Reference in New Issue
Block a user