mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
UID optimizations addressing BIT-1016.
Max UID bit-length is now 128, but can be increased w/ trivial source code change of BRO_UID_LEN.
This commit is contained in:
parent
0592b528ef
commit
5c119561ad
6 changed files with 60 additions and 42 deletions
|
@ -11,7 +11,7 @@ EncapsulatingConn::EncapsulatingConn(Connection* c, BifEnum::Tunnel::Type t)
|
|||
{
|
||||
if ( ! uid )
|
||||
{
|
||||
uid = Bro::UID(bits_per_uid);
|
||||
uid.Set(bits_per_uid);
|
||||
c->SetUID(uid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue