tweaks for "-O C++" of BTest's with conditional code

This commit is contained in:
Vern Paxson 2023-04-01 20:26:55 -07:00
parent 5718046b96
commit 2f9272f2d5
3 changed files with 1 additions and 10 deletions

View file

@ -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