mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Merge branch 'master' of git.bro.org:bro
This commit is contained in:
commit
a7b7397f02
5 changed files with 17 additions and 3 deletions
|
@ -7,3 +7,4 @@
|
|||
18446744073709551611
|
||||
0
|
||||
123
|
||||
9223372036854775808 and 9223372036854775808 are the same
|
||||
|
|
|
@ -24,4 +24,12 @@ event bro_init()
|
|||
local e: port = 123/tcp;
|
||||
print port_to_count(e);
|
||||
|
||||
local origString = "9223372036854775808";
|
||||
local directCount: count = 9223372036854775808;
|
||||
local fromStringCount: count = to_count(origString);
|
||||
|
||||
if ( directCount == fromStringCount )
|
||||
print fmt("%s and %s are the same", directCount, fromStringCount);
|
||||
else
|
||||
print fmt("%s and %s are not the same", directCount, fromStringCount);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue