mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
script_opt: Use emit_builtin_error() for Lookup-Conn
Still create a separate baseline file because ZAM doesn't provide detailed location information. Patch for ZBI.op provided by @vpax
This commit is contained in:
parent
7e5a9c3a82
commit
3b4b379950
2 changed files with 8 additions and 1 deletions
|
@ -130,7 +130,7 @@ eval auto cid = $1;
|
|||
res = conn->GetVal();
|
||||
else
|
||||
{
|
||||
ERROR2("connection ID not a known connection", cid);
|
||||
emit_builtin_error("connection ID not a known connection", cid);
|
||||
res = build_dummy_conn_record();
|
||||
}
|
||||
AssignTarget($$, ZVal(res, res->GetType()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue