mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
script simplification that removes an unnecessary &is_assigned
This commit is contained in:
parent
509428a9dc
commit
385e49491b
1 changed files with 1 additions and 4 deletions
|
@ -239,10 +239,7 @@ function determine_service(c: connection): string
|
||||||
function set_conn(c: connection, eoc: bool)
|
function set_conn(c: connection, eoc: bool)
|
||||||
{
|
{
|
||||||
if ( ! c?$conn )
|
if ( ! c?$conn )
|
||||||
{
|
c$conn = Info();
|
||||||
local tmp: Info &is_assigned;
|
|
||||||
c$conn = tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
c$conn$ts=c$start_time;
|
c$conn$ts=c$start_time;
|
||||||
c$conn$uid=c$uid;
|
c$conn$uid=c$uid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue