mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00

This changes the internal type that is used to signal that a vector is unspecified from any to void. I tried to verify that the behavior of Bro is still the same. After a lot of playing around, I think everything still should worl as before. However, it might be good for someone to take a look at this. addresses BIT-1144
11 lines
196 B
Text
11 lines
196 B
Text
# @TEST-EXEC: bro -b %INPUT >output 2>&1
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
# Test assignment behavior of unspecified vectors
|
|
local a = vector();
|
|
|
|
a[0] = 5;
|
|
a[1] = "Hi";
|
|
a[2] = 127.0.0.1;
|
|
|
|
print a;
|