mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
tweaks for "-O C++" of BTest's with conditional code
This commit is contained in:
parent
5718046b96
commit
2f9272f2d5
3 changed files with 1 additions and 10 deletions
|
@ -9,10 +9,8 @@ event analyzer_violation(c: connection, atype: AllAnalyzers::Tag, aid: count, re
|
|||
print "analyzer_violation", c$id, atype, aid, reason;
|
||||
}
|
||||
|
||||
@if ( Version::at_least("5.1") )
|
||||
event analyzer_violation_info(tag: AllAnalyzers::Tag, info: AnalyzerViolationInfo)
|
||||
{
|
||||
print "reason", info$reason;
|
||||
print "data", fmt("%s", info$data);
|
||||
}
|
||||
@endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue