mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Rename some connection-specific methods in Session and SessionManager
This commit is contained in:
parent
f92f2e6fd4
commit
63fd1611ca
17 changed files with 61 additions and 45 deletions
|
@ -439,7 +439,7 @@ void Reporter::Weird(Connection* conn, const char* name, const char* addl, const
|
|||
return;
|
||||
}
|
||||
|
||||
WeirdHelper(conn_weird, {conn->ConnVal()->Ref(), new StringVal(addl), new StringVal(source)},
|
||||
WeirdHelper(conn_weird, {conn->GetVal()->Ref(), new StringVal(addl), new StringVal(source)},
|
||||
"%s", name);
|
||||
}
|
||||
|
||||
|
@ -601,7 +601,7 @@ void Reporter::DoLog(const char* prefix, EventHandlerPtr event, FILE* out,
|
|||
vl.emplace_back(make_intrusive<StringVal>(loc_str.c_str()));
|
||||
|
||||
if ( conn )
|
||||
vl.emplace_back(conn->ConnVal());
|
||||
vl.emplace_back(conn->GetVal());
|
||||
|
||||
if ( addl )
|
||||
for ( auto v : *addl )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue