mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Define m_secmarker_skipped as an integer type
There's no reason to treat this this as a double, since it represents a human-readable data value that is only meaningful as an integer. In doing so we write cleaner audit logs and save a small amount of space.
This commit is contained in:
parent
bb2ecdf4db
commit
d0a63aac03
@ -80,7 +80,7 @@ class Rules : public RulesProperties {
|
||||
|
||||
private:
|
||||
int m_referenceCount;
|
||||
double m_secmarker_skipped;
|
||||
uint8_t m_secmarker_skipped;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -110,7 +110,7 @@
|
||||
},
|
||||
"expected": {
|
||||
"audit_log": "",
|
||||
"debug_log": "Out of a SecMarker after skip 6.000000 rules.",
|
||||
"debug_log": "Out of a SecMarker after skip 6 rules.",
|
||||
"error_log": ""
|
||||
},
|
||||
"rules": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user