Skip to content

Commit 8d5811a

Browse files
committed
Update systemtap script to match current libmodsecurity
1 parent e968888 commit 8d5811a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ngx-modsec.stp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ probe process("/usr/local/lib/libmodsecurity.so.3").function("[email protected]*"
1414
probe process("/usr/local/lib/libmodsecurity.so.3").function("[email protected]*").return
1515
{
1616
elapsed_rule = gettimeofday_us() - begin_rule
17-
rules[$this->rule_id] <<< elapsed_rule
18-
rules_phase[$this->rule_id] = $this->phase
17+
rules[$this->m_ruleId] <<< elapsed_rule
18+
rules_phase[$this->m_ruleId] = $this->m_phase
1919
}
2020

2121

0 commit comments

Comments
 (0)