mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Minor API changes to analyzers.
This commit is contained in:
parent
d34f23c8d4
commit
d727af097b
6 changed files with 27 additions and 12 deletions
|
@ -644,12 +644,12 @@ void Analyzer::FlipRoles()
|
|||
resp_supporters = tmp;
|
||||
}
|
||||
|
||||
void Analyzer::ProtocolConfirmation()
|
||||
void Analyzer::ProtocolConfirmation(Tag arg_tag)
|
||||
{
|
||||
if ( protocol_confirmed )
|
||||
return;
|
||||
|
||||
EnumVal* tval = tag.AsEnumVal();
|
||||
EnumVal* tval = arg_tag ? arg_tag.AsEnumVal() : tag.AsEnumVal();
|
||||
Ref(tval);
|
||||
|
||||
val_list* vl = new val_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue