mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Slight naming changes for Bro version information.
Main API now looks like this: @if ( Version::number >= 20500 ) or @if ( Version::at_least("2.5") )
This commit is contained in:
parent
35465aaf30
commit
f66ef7b1e6
2 changed files with 7 additions and 7 deletions
|
@ -23,7 +23,7 @@ Version::parse(bro_version());
|
|||
|
||||
@TEST-START-NEXT
|
||||
|
||||
@if ( Version::num >= 20500 )
|
||||
@if ( Version::number >= 20500 )
|
||||
print "yup";
|
||||
@endif
|
||||
|
||||
|
@ -31,10 +31,10 @@ print "yup";
|
|||
print "yup";
|
||||
@endif
|
||||
|
||||
@if ( Version::greater_equal("2.5") )
|
||||
@if ( Version::at_least("2.5") )
|
||||
print "yup";
|
||||
@endif
|
||||
|
||||
@if ( Version::greater_equal("2.4") )
|
||||
@if ( Version::at_least("2.4") )
|
||||
print "no";
|
||||
@endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue