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:
Jon Siwek 2013-08-28 15:35:18 -05:00
parent 0592b528ef
commit 5c119561ad
6 changed files with 60 additions and 42 deletions

View file

@ -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);
}
}