mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Stricter checking if we have a dns field on the connection being processed
This commit is contained in:
parent
63d99595fe
commit
6736a0c457
1 changed files with 1 additions and 1 deletions
|
@ -14,6 +14,6 @@ export {
|
||||||
|
|
||||||
event dns_request(c: connection, msg: dns_msg, query: string, qtype: count, qclass: count, original_query: string)
|
event dns_request(c: connection, msg: dns_msg, query: string, qtype: count, qclass: count, original_query: string)
|
||||||
{
|
{
|
||||||
if ( ! c$dns?$original_query )
|
if ( c?$dns && ! c$dns?$original_query )
|
||||||
c$dns$original_query = original_query;
|
c$dns$original_query = original_query;
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue